|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
6 #include "opentelemetry/metrics/async_instruments.h"
7 #include "opentelemetry/metrics/meter.h"
8 #include "opentelemetry/metrics/meter_provider.h"
9 #include "opentelemetry/metrics/observer_result.h"
10 #include "opentelemetry/metrics/sync_instruments.h"
11 #include "opentelemetry/version.h"
25 void Add(T ) noexcept
override {}
47 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
49 const opentelemetry::common::KeyValueIterable & ) noexcept
override
52 void Record(T ) noexcept
override {}
65 void Add(T ) noexcept
override {}
74 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
76 class NoopGauge :
public Gauge<T>
83 ~NoopGauge()
override =
default;
84 void Record(T ) noexcept
override {}
163 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
242 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
260 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
void Add(T, const common::KeyValueIterable &, const context::Context &) noexcept override
A histogram instrument that records values.
nostd::unique_ptr< Histogram< uint64_t > > CreateUInt64Histogram(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void Add(T, const context::Context &) noexcept override
Provide a simplified port of std::unique_ptr that has ABI stability.
Provide a type-erased version of std::shared_ptr that has ABI stability.
nostd::shared_ptr< Meter > GetMeter(nostd::string_view, nostd::string_view, nostd::string_view) noexcept override
No-op implementation of a MeterProvider.
void RemoveCallback(ObservableCallbackPtr, void *) noexcept override
NoopObservableInstrument(nostd::string_view, nostd::string_view, nostd::string_view) noexcept
#define OPENTELEMETRY_BEGIN_NAMESPACE
nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void(*)(ObserverResult, void *) ObservableCallbackPtr
nostd::unique_ptr< Histogram< double > > CreateDoubleHistogram(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void Record(T, const context::Context &) noexcept override
nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void Add(T, const common::KeyValueIterable &, const context::Context &) noexcept override
void Add(T) noexcept override
NoopCounter(nostd::string_view, nostd::string_view, nostd::string_view) noexcept
#define OPENTELEMETRY_END_NAMESPACE
No-op implementation of Meter.
nostd::unique_ptr< Counter< double > > CreateDoubleCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void AddCallback(ObservableCallbackPtr, void *) noexcept override
void Add(T) noexcept override
Supports internal iteration over a collection of key-value pairs.
nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void Add(T, const context::Context &) noexcept override
~NoopUpDownCounter() override=default
void Add(T, const common::KeyValueIterable &) noexcept override
void Add(T, const common::KeyValueIterable &) noexcept override
nostd::unique_ptr< UpDownCounter< double > > CreateDoubleUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
NoopUpDownCounter(nostd::string_view, nostd::string_view, nostd::string_view) noexcept
nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
An up-down-counter instrument that adds or reduce values.
nostd::unique_ptr< Counter< uint64_t > > CreateUInt64Counter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
NoopHistogram(nostd::string_view, nostd::string_view, nostd::string_view) noexcept
Handles instrument creation and provides a facility for batch recording.
Creates new Meter instances.
nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
void Record(T, const common::KeyValueIterable &, const context::Context &) noexcept override
nostd::unique_ptr< UpDownCounter< int64_t > > CreateInt64UpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
Back port of std::string_view to work with pre-cpp-17 compilers.