|
|
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"
125 "Measures the duration of the function's initialization, such as a cold start";
186 "Measures the duration of the function's logic execution";
210 "Distribution of max memory usage per invocation";
static nostd::unique_ptr< metrics::Histogram< double > > CreateSyncDoubleMetricFaasMemUsage(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricFaasTimeouts(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricFaasErrors(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricFaasTimeouts(metrics::Meter *meter)
static constexpr const char * unitMetricFaasErrors
static constexpr const char * kMetricFaasMemUsage
Distribution of max memory usage per invocation.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricFaasInvocations(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricFaasInvocations(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Histogram< uint64_t > > CreateSyncInt64MetricFaasInitDuration(metrics::Meter *meter)
static constexpr const char * unitMetricFaasInitDuration
static nostd::unique_ptr< metrics::Histogram< uint64_t > > CreateSyncInt64MetricFaasNetIo(metrics::Meter *meter)
static constexpr const char * kMetricFaasInvocations
Number of successful invocations.
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricFaasErrors(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricFaasErrors(metrics::Meter *meter)
static constexpr const char * unitMetricFaasInvokeDuration
Provide a simplified port of std::unique_ptr that has ABI stability.
static constexpr const char * kMetricFaasInvokeDuration
Measures the duration of the function's logic execution.
Provide a type-erased version of std::shared_ptr that has ABI stability.
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricFaasColdstarts(metrics::Meter *meter)
static constexpr const char * unitMetricFaasInvocations
virtual nostd::unique_ptr< Histogram< double > > CreateDoubleHistogram(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static constexpr const char * descrMetricFaasTimeouts
#define OPENTELEMETRY_BEGIN_NAMESPACE
static nostd::unique_ptr< metrics::Histogram< double > > CreateSyncDoubleMetricFaasInitDuration(metrics::Meter *meter)
static constexpr const char * unitMetricFaasNetIo
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricFaasInvocations(metrics::Meter *meter)
static constexpr const char * descrMetricFaasColdstarts
static constexpr const char * descrMetricFaasInvocations
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::Histogram< double > > CreateSyncDoubleMetricFaasCpuUsage(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Histogram< uint64_t > > CreateSyncInt64MetricFaasInvokeDuration(metrics::Meter *meter)
static constexpr const char * kMetricFaasCpuUsage
Distribution of CPU usage per invocation.
static constexpr const char * unitMetricFaasTimeouts
static constexpr const char * kMetricFaasInitDuration
Measures the duration of the function's initialization, such as a cold start.
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 * descrMetricFaasMemUsage
static nostd::unique_ptr< metrics::Histogram< uint64_t > > CreateSyncInt64MetricFaasCpuUsage(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricFaasColdstarts(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 * descrMetricFaasCpuUsage
static constexpr const char * kMetricFaasTimeouts
Number of invocation timeouts.
static constexpr const char * unitMetricFaasMemUsage
static nostd::unique_ptr< metrics::Histogram< double > > CreateSyncDoubleMetricFaasInvokeDuration(metrics::Meter *meter)
static constexpr const char * descrMetricFaasErrors
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricFaasInvocations(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Histogram< uint64_t > > CreateSyncInt64MetricFaasMemUsage(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 nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricFaasColdstarts(metrics::Meter *meter)
static constexpr const char * unitMetricFaasCpuUsage
static constexpr const char * kMetricFaasColdstarts
Number of invocation cold starts.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricFaasTimeouts(metrics::Meter *meter)
static constexpr const char * descrMetricFaasInvokeDuration
static constexpr const char * descrMetricFaasInitDuration
static constexpr const char * kMetricFaasErrors
Number of invocation errors.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricFaasErrors(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Histogram< double > > CreateSyncDoubleMetricFaasNetIo(metrics::Meter *meter)
virtual nostd::unique_ptr< Histogram< uint64_t > > CreateUInt64Histogram(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Histogram with the passed characteristics and returns a unique_ptr to that Histogram.
Handles instrument creation and provides a facility for batch recording.
static constexpr const char * kMetricFaasNetIo
Distribution of net I/O usage per invocation.
static constexpr const char * unitMetricFaasColdstarts
static constexpr const char * descrMetricFaasNetIo
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricFaasColdstarts(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricFaasTimeouts(metrics::Meter *meter)