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