|
|
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"
30 "Number of times the process has been context switched.";
72 "Total CPU seconds broken down by different states.";
109 "Difference in process.cpu.time since the last measurement, divided by the elapsed time and "
110 "number of CPUs available to the process.";
113 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
190 "The amount of physical memory in use.";
228 "The amount of committed virtual memory.";
302 "process.open_file_descriptor.count";
304 "Number of file descriptors in use by the process.";
346 "Number of page faults the process has made.";
425 #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 * unitMetricProcessDiskIo
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessCpuUtilization(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricProcessPagingFaults(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessUptime(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricProcessCpuTime(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessNetworkIo(metrics::Meter *meter)
static constexpr const char * descrMetricProcessDiskIo
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 constexpr const char * descrMetricProcessMemoryVirtual
static constexpr const char * kMetricProcessCpuTime
Total CPU seconds broken down by different states.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessMemoryVirtual(metrics::Meter *meter)
static constexpr const char * unitMetricProcessCpuTime
static constexpr const char * descrMetricProcessUptime
Provide a simplified port of std::unique_ptr that has ABI stability.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessThreadCount(metrics::Meter *meter)
static constexpr const char * kMetricProcessUptime
The time the process has been running.
static constexpr const char * unitMetricProcessContextSwitches
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricProcessDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessMemoryVirtual(metrics::Meter *meter)
static constexpr const char * descrMetricProcessCpuTime
Provide a type-erased version of std::shared_ptr that has ABI stability.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessContextSwitches(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricProcessThreadCount(metrics::Meter *meter)
#define OPENTELEMETRY_BEGIN_NAMESPACE
static constexpr const char * unitMetricProcessUptime
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricProcessThreadCount(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricProcessNetworkIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessContextSwitches(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricProcessContextSwitches(metrics::Meter *meter)
static constexpr const char * kMetricProcessContextSwitches
Number of times the process has been context switched.
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static constexpr const char * unitMetricProcessNetworkIo
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricProcessContextSwitches(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessUptime(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessPagingFaults(metrics::Meter *meter)
static constexpr const char * unitMetricProcessPagingFaults
static constexpr const char * unitMetricProcessThreadCount
static constexpr const char * kMetricProcessNetworkIo
Network bytes transferred.
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricProcessCpuTime(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricProcessMemoryVirtual(metrics::Meter *meter)
virtual nostd::unique_ptr< Counter< double > > CreateDoubleCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static constexpr const char * kMetricProcessMemoryUsage
The amount of physical memory in use.
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricProcessNetworkIo(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricProcessOpenFileDescriptorCount(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessCpuTime(metrics::Meter *meter)
static constexpr const char * kMetricProcessPagingFaults
Number of page faults the process has made.
static constexpr const char * descrMetricProcessPagingFaults
static constexpr const char * descrMetricProcessContextSwitches
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 * descrMetricProcessNetworkIo
static constexpr const char * descrMetricProcessMemoryUsage
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricProcessMemoryUsage(metrics::Meter *meter)
static constexpr const char * unitMetricProcessMemoryUsage
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 * descrMetricProcessCpuUtilization
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricProcessPagingFaults(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessOpenFileDescriptorCount(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessPagingFaults(metrics::Meter *meter)
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 * descrMetricProcessOpenFileDescriptorCount
static constexpr const char * unitMetricProcessCpuUtilization
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessOpenFileDescriptorCount(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 ...
virtual nostd::unique_ptr< UpDownCounter< double > > CreateDoubleUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessDiskIo(metrics::Meter *meter)
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static constexpr const char * kMetricProcessMemoryVirtual
The amount of committed virtual memory.
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricProcessDiskIo(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessMemoryUsage(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricProcessMemoryVirtual(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricProcessOpenFileDescriptorCount(metrics::Meter *meter)
static constexpr const char * kMetricProcessThreadCount
Process threads count.
static constexpr const char * kMetricProcessOpenFileDescriptorCount
Number of file descriptors in use by the process.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessNetworkIo(metrics::Meter *meter)
static constexpr const char * kMetricProcessCpuUtilization
Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of ...
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessThreadCount(metrics::Meter *meter)
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricProcessMemoryUsage(metrics::Meter *meter)
Handles instrument creation and provides a facility for batch recording.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessCpuUtilization(metrics::Meter *meter)
static constexpr const char * kMetricProcessDiskIo
Disk bytes transferred.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricProcessCpuTime(metrics::Meter *meter)
static constexpr const char * descrMetricProcessThreadCount
static constexpr const char * unitMetricProcessOpenFileDescriptorCount
static constexpr const char * unitMetricProcessMemoryVirtual
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricProcessMemoryUsage(metrics::Meter *meter)