NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/includes/opentelemetry/semconv/otel_metrics.h
Go to the documentation of this file.
1 /*
2  * Copyright The OpenTelemetry Authors
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 /*
7  * DO NOT EDIT, this is an Auto-generated file from:
8  * buildscripts/semantic-convention/templates/registry/semantic_metrics-h.j2
9  */
10 
11 #pragma once
12 
13 #include "opentelemetry/common/macros.h"
14 #include "opentelemetry/metrics/meter.h"
15 #include "opentelemetry/version.h"
16 
18 namespace semconv
19 {
20 namespace otel
21 {
22 
32 static constexpr const char *kMetricOtelSdkExporterSpanExportedCount =
33  "otel.sdk.exporter.span.exported.count";
34 static constexpr const char *descrMetricOtelSdkExporterSpanExportedCount =
35  "The number of spans for which the export has finished, either successful or failed";
36 static constexpr const char *unitMetricOtelSdkExporterSpanExportedCount = "{span}";
37 
40 {
44 }
45 
48 {
52 }
53 
56 {
60 }
61 
64 {
68 }
69 
76 static constexpr const char *kMetricOtelSdkExporterSpanInflightCount =
77  "otel.sdk.exporter.span.inflight.count";
78 static constexpr const char *descrMetricOtelSdkExporterSpanInflightCount =
79  "The number of spans which were passed to the exporter, but that have not been exported yet "
80  "(neither successful, nor failed)";
81 static constexpr const char *unitMetricOtelSdkExporterSpanInflightCount = "{span}";
82 
85 {
89 }
90 
93 {
97 }
98 
101 {
105 }
106 
109 {
113 }
114 
123 static constexpr const char *kMetricOtelSdkProcessorSpanProcessedCount =
124  "otel.sdk.processor.span.processed.count";
125 static constexpr const char *descrMetricOtelSdkProcessorSpanProcessedCount =
126  "The number of spans for which the processing has finished, either successful or failed";
127 static constexpr const char *unitMetricOtelSdkProcessorSpanProcessedCount = "{span}";
128 
131 {
135 }
136 
139 {
143 }
144 
147 {
151 }
152 
155 {
159 }
160 
168 static constexpr const char *kMetricOtelSdkProcessorSpanQueueCapacity =
169  "otel.sdk.processor.span.queue.capacity";
170 static constexpr const char *descrMetricOtelSdkProcessorSpanQueueCapacity =
171  "The maximum number of spans the queue of a given instance of an SDK span processor can hold";
172 static constexpr const char *unitMetricOtelSdkProcessorSpanQueueCapacity = "{span}";
173 
176 {
180 }
181 
184 {
188 }
189 
192 {
196 }
197 
200 {
204 }
205 
213 static constexpr const char *kMetricOtelSdkProcessorSpanQueueSize =
214  "otel.sdk.processor.span.queue.size";
215 static constexpr const char *descrMetricOtelSdkProcessorSpanQueueSize =
216  "The number of spans in the queue of a given instance of an SDK span processor";
217 static constexpr const char *unitMetricOtelSdkProcessorSpanQueueSize = "{span}";
218 
221 {
225 }
226 
229 {
233 }
234 
237 {
241 }
242 
245 {
249 }
250 
259 static constexpr const char *kMetricOtelSdkSpanEndedCount = "otel.sdk.span.ended.count";
260 static constexpr const char *descrMetricOtelSdkSpanEndedCount =
261  "The number of created spans for which the end operation was called";
262 static constexpr const char *unitMetricOtelSdkSpanEndedCount = "{span}";
263 
266 {
269 }
270 
273 {
276 }
277 
280 {
284 }
285 
288 {
292 }
293 
302 static constexpr const char *kMetricOtelSdkSpanLiveCount = "otel.sdk.span.live.count";
303 static constexpr const char *descrMetricOtelSdkSpanLiveCount =
304  "The number of created spans for which the end operation has not been called yet";
305 static constexpr const char *unitMetricOtelSdkSpanLiveCount = "{span}";
306 
309 {
310  return meter->CreateInt64UpDownCounter(
312 }
313 
316 {
317  return meter->CreateDoubleUpDownCounter(
319 }
320 
323 {
326 }
327 
330 {
333 }
334 
335 } // namespace otel
336 } // namespace semconv
semconv::otel::descrMetricOtelSdkExporterSpanExportedCount
static constexpr const char * descrMetricOtelSdkExporterSpanExportedCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:34
semconv::otel::unitMetricOtelSdkProcessorSpanQueueCapacity
static constexpr const char * unitMetricOtelSdkProcessorSpanQueueCapacity
Definition: includes/opentelemetry/semconv/otel_metrics.h:172
semconv::otel::descrMetricOtelSdkProcessorSpanQueueCapacity
static constexpr const char * descrMetricOtelSdkProcessorSpanQueueCapacity
Definition: includes/opentelemetry/semconv/otel_metrics.h:170
semconv::otel::kMetricOtelSdkProcessorSpanQueueSize
static constexpr const char * kMetricOtelSdkProcessorSpanQueueSize
The number of spans in the queue of a given instance of an SDK span processor.
Definition: includes/opentelemetry/semconv/otel_metrics.h:213
metrics::Meter::CreateInt64UpDownCounter
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...
semconv::otel::CreateAsyncDoubleMetricOtelSdkSpanEndedCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkSpanEndedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:287
semconv::otel::descrMetricOtelSdkProcessorSpanQueueSize
static constexpr const char * descrMetricOtelSdkProcessorSpanQueueSize
Definition: includes/opentelemetry/semconv/otel_metrics.h:215
semconv::otel::kMetricOtelSdkProcessorSpanQueueCapacity
static constexpr const char * kMetricOtelSdkProcessorSpanQueueCapacity
The maximum number of spans the queue of a given instance of an SDK span processor can hold.
Definition: includes/opentelemetry/semconv/otel_metrics.h:168
semconv::otel::CreateSyncInt64MetricOtelSdkSpanLiveCount
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricOtelSdkSpanLiveCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:308
semconv::otel::CreateAsyncInt64MetricOtelSdkProcessorSpanQueueCapacity
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkProcessorSpanQueueCapacity(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:191
semconv::otel::CreateAsyncDoubleMetricOtelSdkProcessorSpanQueueCapacity
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkProcessorSpanQueueCapacity(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:199
semconv::otel::CreateSyncDoubleMetricOtelSdkProcessorSpanQueueCapacity
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricOtelSdkProcessorSpanQueueCapacity(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:183
semconv::otel::CreateSyncDoubleMetricOtelSdkProcessorSpanProcessedCount
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricOtelSdkProcessorSpanProcessedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:138
semconv::otel::CreateAsyncDoubleMetricOtelSdkProcessorSpanQueueSize
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkProcessorSpanQueueSize(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:244
nostd::unique_ptr
Provide a simplified port of std::unique_ptr that has ABI stability.
Definition: includes/opentelemetry/nostd/unique_ptr.h:45
semconv::otel::unitMetricOtelSdkSpanEndedCount
static constexpr const char * unitMetricOtelSdkSpanEndedCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:262
nostd::shared_ptr
Provide a type-erased version of std::shared_ptr that has ABI stability.
Definition: includes/opentelemetry/nostd/shared_ptr.h:28
semconv::otel::descrMetricOtelSdkExporterSpanInflightCount
static constexpr const char * descrMetricOtelSdkExporterSpanInflightCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:78
semconv
Definition: includes/opentelemetry/semconv/azure_metrics.h:18
semconv::otel::CreateSyncInt64MetricOtelSdkProcessorSpanProcessedCount
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricOtelSdkProcessorSpanProcessedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:130
semconv::otel::unitMetricOtelSdkProcessorSpanQueueSize
static constexpr const char * unitMetricOtelSdkProcessorSpanQueueSize
Definition: includes/opentelemetry/semconv/otel_metrics.h:217
semconv::otel::kMetricOtelSdkExporterSpanInflightCount
static constexpr const char * kMetricOtelSdkExporterSpanInflightCount
The number of spans which were passed to the exporter, but that have not been exported yet (neither s...
Definition: includes/opentelemetry/semconv/otel_metrics.h:76
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition: includes/opentelemetry/version.h:21
semconv::otel::CreateAsyncDoubleMetricOtelSdkExporterSpanInflightCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkExporterSpanInflightCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:108
semconv::otel::CreateSyncDoubleMetricOtelSdkSpanLiveCount
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricOtelSdkSpanLiveCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:315
semconv::otel::unitMetricOtelSdkExporterSpanExportedCount
static constexpr const char * unitMetricOtelSdkExporterSpanExportedCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:36
metrics::Meter::CreateDoubleObservableUpDownCounter
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
semconv::otel::kMetricOtelSdkExporterSpanExportedCount
static constexpr const char * kMetricOtelSdkExporterSpanExportedCount
The number of spans for which the export has finished, either successful or failed.
Definition: includes/opentelemetry/semconv/otel_metrics.h:32
semconv::otel::CreateAsyncDoubleMetricOtelSdkProcessorSpanProcessedCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkProcessorSpanProcessedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:154
semconv::otel::CreateAsyncDoubleMetricOtelSdkExporterSpanExportedCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkExporterSpanExportedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:63
semconv::otel::CreateAsyncInt64MetricOtelSdkSpanEndedCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkSpanEndedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:279
semconv::otel::CreateSyncInt64MetricOtelSdkExporterSpanInflightCount
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricOtelSdkExporterSpanInflightCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:84
metrics::Meter::CreateDoubleCounter
virtual nostd::unique_ptr< Counter< double > > CreateDoubleCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
semconv::otel::CreateSyncDoubleMetricOtelSdkProcessorSpanQueueSize
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricOtelSdkProcessorSpanQueueSize(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:228
semconv::otel::unitMetricOtelSdkExporterSpanInflightCount
static constexpr const char * unitMetricOtelSdkExporterSpanInflightCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:81
semconv::otel::kMetricOtelSdkProcessorSpanProcessedCount
static constexpr const char * kMetricOtelSdkProcessorSpanProcessedCount
The number of spans for which the processing has finished, either successful or failed.
Definition: includes/opentelemetry/semconv/otel_metrics.h:123
semconv::otel::CreateAsyncInt64MetricOtelSdkSpanLiveCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkSpanLiveCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:322
semconv::otel::CreateAsyncInt64MetricOtelSdkProcessorSpanQueueSize
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkProcessorSpanQueueSize(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:236
metrics::Meter::CreateDoubleObservableCounter
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition: includes/opentelemetry/version.h:24
semconv::otel::descrMetricOtelSdkProcessorSpanProcessedCount
static constexpr const char * descrMetricOtelSdkProcessorSpanProcessedCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:125
semconv::otel::CreateSyncDoubleMetricOtelSdkExporterSpanExportedCount
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricOtelSdkExporterSpanExportedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:47
semconv::otel::CreateAsyncDoubleMetricOtelSdkSpanLiveCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricOtelSdkSpanLiveCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:329
metrics::Meter::CreateUInt64Counter
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.
semconv::otel::descrMetricOtelSdkSpanLiveCount
static constexpr const char * descrMetricOtelSdkSpanLiveCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:303
semconv::otel::CreateSyncInt64MetricOtelSdkProcessorSpanQueueCapacity
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricOtelSdkProcessorSpanQueueCapacity(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:175
semconv::otel::CreateSyncDoubleMetricOtelSdkSpanEndedCount
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricOtelSdkSpanEndedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:272
semconv::otel::CreateAsyncInt64MetricOtelSdkExporterSpanInflightCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkExporterSpanInflightCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:100
semconv::otel::CreateSyncInt64MetricOtelSdkSpanEndedCount
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricOtelSdkSpanEndedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:265
metrics::Meter::CreateInt64ObservableUpDownCounter
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...
metrics::Meter::CreateInt64ObservableCounter
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 ...
metrics::Meter::CreateDoubleUpDownCounter
virtual nostd::unique_ptr< UpDownCounter< double > > CreateDoubleUpDownCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
semconv::otel::CreateSyncInt64MetricOtelSdkProcessorSpanQueueSize
static nostd::unique_ptr< metrics::UpDownCounter< int64_t > > CreateSyncInt64MetricOtelSdkProcessorSpanQueueSize(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:220
semconv::otel::CreateAsyncInt64MetricOtelSdkProcessorSpanProcessedCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkProcessorSpanProcessedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:146
semconv::otel::CreateAsyncInt64MetricOtelSdkExporterSpanExportedCount
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricOtelSdkExporterSpanExportedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:55
semconv::otel::kMetricOtelSdkSpanLiveCount
static constexpr const char * kMetricOtelSdkSpanLiveCount
The number of created spans for which the end operation has not been called yet.
Definition: includes/opentelemetry/semconv/otel_metrics.h:302
semconv::otel::descrMetricOtelSdkSpanEndedCount
static constexpr const char * descrMetricOtelSdkSpanEndedCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:260
semconv::otel::CreateSyncInt64MetricOtelSdkExporterSpanExportedCount
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricOtelSdkExporterSpanExportedCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:39
semconv::otel::unitMetricOtelSdkSpanLiveCount
static constexpr const char * unitMetricOtelSdkSpanLiveCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:305
metrics::Meter
Handles instrument creation and provides a facility for batch recording.
Definition: includes/opentelemetry/metrics/meter.h:37
semconv::otel::CreateSyncDoubleMetricOtelSdkExporterSpanInflightCount
static nostd::unique_ptr< metrics::UpDownCounter< double > > CreateSyncDoubleMetricOtelSdkExporterSpanInflightCount(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/otel_metrics.h:92
semconv::otel::unitMetricOtelSdkProcessorSpanProcessedCount
static constexpr const char * unitMetricOtelSdkProcessorSpanProcessedCount
Definition: includes/opentelemetry/semconv/otel_metrics.h:127
semconv::otel::kMetricOtelSdkSpanEndedCount
static constexpr const char * kMetricOtelSdkSpanEndedCount
The number of created spans for which the end operation was called.
Definition: includes/opentelemetry/semconv/otel_metrics.h:259