Definition at line 89 of file includes/opentelemetry/context/runtime_context.h.
Static Public Member Functions | |
| static Context | GetCurrent () noexcept |
| static nostd::unique_ptr< Token > | Attach (const Context &context) noexcept |
| static bool | Detach (Token &token) noexcept |
| static Context | SetValue (nostd::string_view key, const ContextValue &value, Context *context=nullptr) noexcept |
| static ContextValue | GetValue (nostd::string_view key, Context *context=nullptr) noexcept |
| static void | SetRuntimeContextStorage (const nostd::shared_ptr< RuntimeContextStorage > &storage) noexcept |
| Provide a custom runtime context storage. More... | |
| static nostd::shared_ptr< const RuntimeContextStorage > | GetConstRuntimeContextStorage () noexcept |
| Provide a pointer to const runtime context storage. More... | |
| static Context | GetCurrent () noexcept |
| static nostd::unique_ptr< Token > | Attach (const Context &context) noexcept |
| static bool | Detach (Token &token) noexcept |
| static Context | SetValue (nostd::string_view key, const ContextValue &value, Context *context=nullptr) noexcept |
| static ContextValue | GetValue (nostd::string_view key, Context *context=nullptr) noexcept |
| static void | SetRuntimeContextStorage (const nostd::shared_ptr< RuntimeContextStorage > &storage) noexcept |
| Provide a custom runtime context storage. More... | |
| static nostd::shared_ptr< const RuntimeContextStorage > | GetConstRuntimeContextStorage () noexcept |
| Provide a pointer to const runtime context storage. More... | |
|
inlinestaticnoexcept |
Definition at line 97 of file includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 97 of file 9.2/includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 104 of file 9.2/includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 104 of file includes/opentelemetry/context/runtime_context.h.
Referenced by context::Token::~Token().
|
inlinestaticnoexcept |
Provide a pointer to const runtime context storage.
The returned pointer can only be used for extending the lifetime of the runtime context storage.
Definition at line 168 of file 9.2/includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Provide a pointer to const runtime context storage.
The returned pointer can only be used for extending the lifetime of the runtime context storage.
Definition at line 168 of file includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 93 of file includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 93 of file 9.2/includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 132 of file includes/opentelemetry/context/runtime_context.h.
References context::Context::GetValue().
Referenced by trace::Tracer::GetCurrentSpan().
|
inlinestaticnoexcept |
Definition at line 132 of file 9.2/includes/opentelemetry/context/runtime_context.h.
References context::Context::GetValue().
|
inlinestaticnoexcept |
Provide a custom runtime context storage.
This provides a possibility to override the default thread-local runtime context storage. This has to be set before any spans are created by the application, otherwise the behavior is undefined.
| storage | a custom runtime context storage |
Definition at line 155 of file includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Provide a custom runtime context storage.
This provides a possibility to override the default thread-local runtime context storage. This has to be set before any spans are created by the application, otherwise the behavior is undefined.
| storage | a custom runtime context storage |
Definition at line 155 of file 9.2/includes/opentelemetry/context/runtime_context.h.
|
inlinestaticnoexcept |
Definition at line 112 of file 9.2/includes/opentelemetry/context/runtime_context.h.
References context::Context::SetValue().
|
inlinestaticnoexcept |
Definition at line 112 of file includes/opentelemetry/context/runtime_context.h.
References context::Context::SetValue().