NVIDIA DeepStream SDK API Reference
9.2 Release
includes/opentelemetry/context/context_value.h
Go to the documentation of this file.
1
// Copyright The OpenTelemetry Authors
2
// SPDX-License-Identifier: Apache-2.0
3
4
#pragma once
5
6
#include <cstdint>
7
8
#include "opentelemetry/nostd/shared_ptr.h"
9
#include "opentelemetry/nostd/variant.h"
10
#include "opentelemetry/version.h"
11
12
OPENTELEMETRY_BEGIN_NAMESPACE
13
namespace
baggage
14
{
15
class
Baggage;
16
}
// namespace baggage
17
18
namespace
trace
19
{
20
class
Span
;
21
class
SpanContext
;
22
}
// namespace trace
23
24
namespace
context
25
{
26
using
ContextValue
=
nostd::variant
<
nostd::monostate
,
27
bool,
28
int64_t,
29
uint64_t,
30
double,
31
nostd::shared_ptr<trace::Span>
,
32
nostd::shared_ptr<trace::SpanContext>
,
33
nostd::shared_ptr<baggage::Baggage>
>;
34
}
// namespace context
35
OPENTELEMETRY_END_NAMESPACE
trace
Definition:
includes/opentelemetry/context/context_value.h:18
absl::OTABSL_OPTION_NAMESPACE_NAME::variant
Definition:
includes/opentelemetry/nostd/variant.h:61
trace::SpanContext
Definition:
includes/opentelemetry/trace/span_context.h:24
baggage
Definition:
includes/opentelemetry/baggage/baggage.h:16
nostd::shared_ptr< trace::Span >
trace::Span
A Span represents a single operation within a Trace.
Definition:
includes/opentelemetry/trace/span.h:54
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition:
includes/opentelemetry/version.h:21
context
Definition:
includes/opentelemetry/context/context.h:16
context::ContextValue
nostd::variant< nostd::monostate, bool, int64_t, uint64_t, double, nostd::shared_ptr< trace::Span >, nostd::shared_ptr< trace::SpanContext >, nostd::shared_ptr< baggage::Baggage > > ContextValue
Definition:
includes/opentelemetry/context/context_value.h:33
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition:
includes/opentelemetry/version.h:24
nostd::monostate
std::monostate monostate
Definition:
includes/opentelemetry/std/variant.h:30
Privacy Policy
|
Your Privacy Choices
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Wed Oct 28 2026 12:02:01 | PR-09318-R32