|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
13 #include "opentelemetry/common/macros.h"
14 #include "opentelemetry/metrics/meter.h"
15 #include "opentelemetry/version.h"
71 "Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs";
74 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
233 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
virtual nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Asynchronous (Observable) Gauge with the passed characteristics and returns a shared_ptr to...
static constexpr const char * unitMetricContainerMemoryUsage
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricContainerDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerDiskIo(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricContainerDiskIo(metrics::Meter *meter)
static constexpr const char * descrMetricContainerMemoryUsage
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerMemoryUsage(metrics::Meter *meter)
Provide a simplified port of std::unique_ptr that has ABI stability.
static constexpr const char * descrMetricContainerUptime
static constexpr const char * descrMetricContainerCpuUsage
static constexpr const char * descrMetricContainerNetworkIo
Provide a type-erased version of std::shared_ptr that has ABI stability.
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricContainerCpuTime(metrics::Meter *meter)
#define OPENTELEMETRY_BEGIN_NAMESPACE
static constexpr const char * descrMetricContainerCpuTime
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricContainerCpuTime(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerCpuUsage(metrics::Meter *meter)
static constexpr const char * unitMetricContainerDiskIo
static constexpr const char * unitMetricContainerNetworkIo
static constexpr const char * descrMetricContainerDiskIo
static constexpr const char * kMetricContainerCpuTime
Total CPU time consumed.
static constexpr const char * unitMetricContainerUptime
virtual nostd::unique_ptr< Counter< double > > CreateDoubleCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricContainerMemoryUsage(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerCpuUsage(metrics::Meter *meter)
static constexpr const char * unitMetricContainerCpuTime
static constexpr const char * kMetricContainerMemoryUsage
Memory usage of the container.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerMemoryUsage(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricContainerMemoryUsage(metrics::Meter *meter)
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
#define OPENTELEMETRY_END_NAMESPACE
static constexpr const char * kMetricContainerUptime
The time the container has been running.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerCpuTime(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerCpuTime(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerNetworkIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerUptime(metrics::Meter *meter)
virtual nostd::unique_ptr< Counter< uint64_t > > CreateUInt64Counter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Counter with the passed characteristics and returns a unique_ptr to that Counter.
static constexpr const char * kMetricContainerCpuUsage
Container's CPU usage, measured in cpus.
static constexpr const char * kMetricContainerDiskIo
Disk bytes for the container.
virtual nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Asynchronous (Observable) counter with the passed characteristics and returns a shared_ptr ...
static constexpr const char * unitMetricContainerCpuUsage
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricContainerNetworkIo(metrics::Meter *meter)
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerUptime(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricContainerNetworkIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerNetworkIo(metrics::Meter *meter)
Handles instrument creation and provides a facility for batch recording.
static constexpr const char * kMetricContainerNetworkIo
Network bytes for the container.