|
|
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
158 "Container filesystem available bytes.";
207 "Container filesystem capacity.";
379 "The time the container has been running.";
382 #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)
virtual nostd::unique_ptr< UpDownCounter< int64_t > > CreateInt64UpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates an UpDownCounter with the passed characteristics and returns a unique_ptr to that UpDownCount...
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricContainerDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerFilesystemCapacity(metrics::Meter *meter)
static constexpr const char * descrMetricContainerMemoryUsage
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerFilesystemUsage(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 * kMetricContainerFilesystemAvailable
Container filesystem available bytes.
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)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricContainerFilesystemAvailable(metrics::Meter *meter)
static constexpr const char * kMetricContainerFilesystemCapacity
Container filesystem capacity.
#define OPENTELEMETRY_BEGIN_NAMESPACE
static constexpr const char * unitMetricContainerFilesystemCapacity
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)
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricContainerFilesystemCapacity(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 nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerFilesystemUsage(metrics::Meter *meter)
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 nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricContainerFilesystemAvailable(metrics::Meter *meter)
static constexpr const char * kMetricContainerCpuUsage
Container's CPU usage, measured in cpus.
virtual nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Asynchronous (Observable) UpDownCounter with the passed characteristics and returns a share...
static constexpr const char * kMetricContainerFilesystemUsage
Container filesystem usage.
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricContainerFilesystemAvailable(metrics::Meter *meter)
static constexpr const char * unitMetricContainerFilesystemAvailable
static constexpr const char * kMetricContainerDiskIo
Disk bytes for the container.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerFilesystemAvailable(metrics::Meter *meter)
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
virtual nostd::unique_ptr< UpDownCounter< double > > CreateDoubleUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
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 constexpr const char * descrMetricContainerFilesystemUsage
static constexpr const char * unitMetricContainerFilesystemUsage
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricContainerFilesystemUsage(metrics::Meter *meter)
static constexpr const char * descrMetricContainerFilesystemAvailable
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricContainerNetworkIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricContainerFilesystemCapacity(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricContainerFilesystemCapacity(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 * descrMetricContainerFilesystemCapacity
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricContainerFilesystemUsage(metrics::Meter *meter)
static constexpr const char * kMetricContainerNetworkIo
Network bytes for the container.