NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::Meter Class Referencefinal

Detailed Description

Definition at line 40 of file includes/opentelemetry/sdk/metrics/meter.h.

Inheritance diagram for sdk::metrics::Meter:
Collaboration diagram for sdk::metrics::Meter:

Public Member Functions

 Meter (std::weak_ptr< sdk::metrics::MeterContext > meter_context, std::unique_ptr< opentelemetry::sdk::instrumentationscope::InstrumentationScope > scope=opentelemetry::sdk::instrumentationscope::InstrumentationScope::Create("")) noexcept
 Construct a new Meter with the given pipeline. More...
 
nostd::unique_ptr< opentelemetry::metrics::Counter< uint64_t > > CreateUInt64Counter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::Counter< double > > CreateDoubleCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateInt64ObservableCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateDoubleObservableCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::Histogram< uint64_t > > CreateUInt64Histogram (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::Histogram< double > > CreateDoubleHistogram (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateInt64ObservableGauge (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateDoubleObservableGauge (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::UpDownCounter< int64_t > > CreateInt64UpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::UpDownCounter< double > > CreateDoubleUpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateInt64ObservableUpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateDoubleObservableUpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
const sdk::instrumentationscope::InstrumentationScope * GetInstrumentationScope () const noexcept
 Returns the associated instrumentation scope. More...
 
const sdk::instrumentationscope::InstrumentationScope * GetInstrumentationLibrary () const noexcept
 
std::vector< MetricData > Collect (CollectorHandle *collector, opentelemetry::common::SystemTimestamp collect_ts) noexcept
 collect metrics across all the instruments configured for the meter More...
 
 Meter (std::weak_ptr< sdk::metrics::MeterContext > meter_context, std::unique_ptr< opentelemetry::sdk::instrumentationscope::InstrumentationScope > scope=opentelemetry::sdk::instrumentationscope::InstrumentationScope::Create("")) noexcept
 Construct a new Meter with the given pipeline. More...
 
nostd::unique_ptr< opentelemetry::metrics::Counter< uint64_t > > CreateUInt64Counter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::Counter< double > > CreateDoubleCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateInt64ObservableCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateDoubleObservableCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::Histogram< uint64_t > > CreateUInt64Histogram (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::Histogram< double > > CreateDoubleHistogram (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateInt64ObservableGauge (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateDoubleObservableGauge (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::UpDownCounter< int64_t > > CreateInt64UpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::unique_ptr< opentelemetry::metrics::UpDownCounter< double > > CreateDoubleUpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateInt64ObservableUpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
nostd::shared_ptr< opentelemetry::metrics::ObservableInstrument > CreateDoubleObservableUpDownCounter (nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept override
 
const sdk::instrumentationscope::InstrumentationScope * GetInstrumentationScope () const noexcept
 Returns the associated instrumentation scope. More...
 
const sdk::instrumentationscope::InstrumentationScope * GetInstrumentationLibrary () const noexcept
 
std::vector< MetricData > Collect (CollectorHandle *collector, opentelemetry::common::SystemTimestamp collect_ts) noexcept
 collect metrics across all the instruments configured for the meter More...
 

Constructor & Destructor Documentation

◆ Meter() [1/2]

sdk::metrics::Meter::Meter ( std::weak_ptr< sdk::metrics::MeterContext >  meter_context,
std::unique_ptr< opentelemetry::sdk::instrumentationscope::InstrumentationScope >  scope = opentelemetry::sdk::instrumentationscope::InstrumentationScope::Create("") 
)
explicitnoexcept

Construct a new Meter with the given pipeline.

◆ Meter() [2/2]

sdk::metrics::Meter::Meter ( std::weak_ptr< sdk::metrics::MeterContext >  meter_context,
std::unique_ptr< opentelemetry::sdk::instrumentationscope::InstrumentationScope >  scope = opentelemetry::sdk::instrumentationscope::InstrumentationScope::Create("") 
)
explicitnoexcept

Construct a new Meter with the given pipeline.

Member Function Documentation

◆ Collect() [1/2]

std::vector<MetricData> sdk::metrics::Meter::Collect ( CollectorHandle *  collector,
opentelemetry::common::SystemTimestamp  collect_ts 
)
noexcept

collect metrics across all the instruments configured for the meter

◆ Collect() [2/2]

std::vector<MetricData> sdk::metrics::Meter::Collect ( CollectorHandle *  collector,
opentelemetry::common::SystemTimestamp  collect_ts 
)
noexcept

collect metrics across all the instruments configured for the meter

◆ CreateDoubleCounter() [1/2]

nostd::unique_ptr<opentelemetry::metrics::Counter<double> > sdk::metrics::Meter::CreateDoubleCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleCounter() [2/2]

nostd::unique_ptr<opentelemetry::metrics::Counter<double> > sdk::metrics::Meter::CreateDoubleCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleHistogram() [1/2]

nostd::unique_ptr<opentelemetry::metrics::Histogram<double> > sdk::metrics::Meter::CreateDoubleHistogram ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleHistogram() [2/2]

nostd::unique_ptr<opentelemetry::metrics::Histogram<double> > sdk::metrics::Meter::CreateDoubleHistogram ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleObservableCounter() [1/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateDoubleObservableCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleObservableCounter() [2/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateDoubleObservableCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleObservableGauge() [1/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateDoubleObservableGauge ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleObservableGauge() [2/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateDoubleObservableGauge ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleObservableUpDownCounter() [1/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateDoubleObservableUpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleObservableUpDownCounter() [2/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateDoubleObservableUpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleUpDownCounter() [1/2]

nostd::unique_ptr<opentelemetry::metrics::UpDownCounter<double> > sdk::metrics::Meter::CreateDoubleUpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateDoubleUpDownCounter() [2/2]

nostd::unique_ptr<opentelemetry::metrics::UpDownCounter<double> > sdk::metrics::Meter::CreateDoubleUpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64ObservableCounter() [1/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateInt64ObservableCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64ObservableCounter() [2/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateInt64ObservableCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64ObservableGauge() [1/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateInt64ObservableGauge ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64ObservableGauge() [2/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateInt64ObservableGauge ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64ObservableUpDownCounter() [1/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateInt64ObservableUpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64ObservableUpDownCounter() [2/2]

nostd::shared_ptr<opentelemetry::metrics::ObservableInstrument> sdk::metrics::Meter::CreateInt64ObservableUpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64UpDownCounter() [1/2]

nostd::unique_ptr<opentelemetry::metrics::UpDownCounter<int64_t> > sdk::metrics::Meter::CreateInt64UpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateInt64UpDownCounter() [2/2]

nostd::unique_ptr<opentelemetry::metrics::UpDownCounter<int64_t> > sdk::metrics::Meter::CreateInt64UpDownCounter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateUInt64Counter() [1/2]

nostd::unique_ptr<opentelemetry::metrics::Counter<uint64_t> > sdk::metrics::Meter::CreateUInt64Counter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateUInt64Counter() [2/2]

nostd::unique_ptr<opentelemetry::metrics::Counter<uint64_t> > sdk::metrics::Meter::CreateUInt64Counter ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateUInt64Histogram() [1/2]

nostd::unique_ptr<opentelemetry::metrics::Histogram<uint64_t> > sdk::metrics::Meter::CreateUInt64Histogram ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ CreateUInt64Histogram() [2/2]

nostd::unique_ptr<opentelemetry::metrics::Histogram<uint64_t> > sdk::metrics::Meter::CreateUInt64Histogram ( nostd::string_view  name,
nostd::string_view  description = "",
nostd::string_view  unit = "" 
)
overridenoexcept

◆ GetInstrumentationLibrary() [1/2]

const sdk::instrumentationscope::InstrumentationScope* sdk::metrics::Meter::GetInstrumentationLibrary ( ) const
inlinenoexcept

◆ GetInstrumentationLibrary() [2/2]

const sdk::instrumentationscope::InstrumentationScope* sdk::metrics::Meter::GetInstrumentationLibrary ( ) const
inlinenoexcept

◆ GetInstrumentationScope() [1/2]

const sdk::instrumentationscope::InstrumentationScope* sdk::metrics::Meter::GetInstrumentationScope ( ) const
noexcept

Returns the associated instrumentation scope.

◆ GetInstrumentationScope() [2/2]

const sdk::instrumentationscope::InstrumentationScope* sdk::metrics::Meter::GetInstrumentationScope ( ) const
noexcept

Returns the associated instrumentation scope.

Referenced by GetInstrumentationLibrary().


The documentation for this class was generated from the following file: