TracerConfig defines various configurable aspects of a Tracer's behavior.
This class should not be used directly to configure a Tracer's behavior, instead a ScopeConfigurator should be used to compute the desired TracerConfig which can then be used to configure a Tracer.
Definition at line 19 of file includes/opentelemetry/sdk/trace/tracer_config.h.
Public Member Functions | |
| bool | operator== (const TracerConfig &other) const noexcept |
| bool | IsEnabled () const noexcept |
| Returns if the Tracer is enabled or disabled. More... | |
| bool | operator== (const TracerConfig &other) const noexcept |
| bool | IsEnabled () const noexcept |
| Returns if the Tracer is enabled or disabled. More... | |
Static Public Member Functions | |
| static TracerConfig | Disabled () |
| Returns a TracerConfig that represents a disabled Tracer. More... | |
| static TracerConfig | Enabled () |
| Returns a TracerConfig that represents an enabled Tracer. More... | |
| static TracerConfig | Default () |
| Returns a TracerConfig that represents a Tracer configured with the default behavior. More... | |
| static TracerConfig | Disabled () |
| Returns a TracerConfig that represents a disabled Tracer. More... | |
| static TracerConfig | Enabled () |
| Returns a TracerConfig that represents an enabled Tracer. More... | |
| static TracerConfig | Default () |
| Returns a TracerConfig that represents a Tracer configured with the default behavior. More... | |
|
static |
Returns a TracerConfig that represents a Tracer configured with the default behavior.
The default behavior is guided by the OpenTelemetry specification.
|
static |
Returns a TracerConfig that represents a Tracer configured with the default behavior.
The default behavior is guided by the OpenTelemetry specification.
|
static |
Returns a TracerConfig that represents a disabled Tracer.
A disabled tracer behaves like a no-op tracer.
|
static |
Returns a TracerConfig that represents a disabled Tracer.
A disabled tracer behaves like a no-op tracer.
|
static |
Returns a TracerConfig that represents an enabled Tracer.
|
static |
Returns a TracerConfig that represents an enabled Tracer.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |