NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/includes/opentelemetry/semconv/incubating/cpython_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 cpython
21 {
22 
30 static constexpr const char *kMetricCpythonGcCollectedObjects = "cpython.gc.collected_objects";
31 static constexpr const char *descrMetricCpythonGcCollectedObjects =
32  "The total number of objects collected inside a generation since interpreter start.";
33 static constexpr const char *unitMetricCpythonGcCollectedObjects = "{object}";
34 
37 {
41 }
42 
45 {
49 }
50 
53 {
57 }
58 
61 {
65 }
66 
74 static constexpr const char *kMetricCpythonGcCollections = "cpython.gc.collections";
75 static constexpr const char *descrMetricCpythonGcCollections =
76  "The number of times a generation was collected since interpreter start.";
77 static constexpr const char *unitMetricCpythonGcCollections = "{collection}";
78 
81 {
84 }
85 
88 {
91 }
92 
95 {
96  return meter->CreateInt64ObservableCounter(
98 }
99 
102 {
103  return meter->CreateDoubleObservableCounter(
105 }
106 
113 static constexpr const char *kMetricCpythonGcUncollectableObjects =
114  "cpython.gc.uncollectable_objects";
115 static constexpr const char *descrMetricCpythonGcUncollectableObjects =
116  "The total number of objects which were found to be uncollectable inside a generation since "
117  "interpreter start.";
118 static constexpr const char *unitMetricCpythonGcUncollectableObjects = "{object}";
119 
122 {
126 }
127 
130 {
134 }
135 
138 {
142 }
143 
146 {
150 }
151 
152 } // namespace cpython
153 } // namespace semconv
semconv::cpython::unitMetricCpythonGcCollectedObjects
static constexpr const char * unitMetricCpythonGcCollectedObjects
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:33
semconv::cpython::CreateSyncDoubleMetricCpythonGcCollectedObjects
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricCpythonGcCollectedObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:44
semconv::cpython::CreateSyncInt64MetricCpythonGcUncollectableObjects
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricCpythonGcUncollectableObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:121
semconv::cpython::CreateSyncInt64MetricCpythonGcCollectedObjects
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricCpythonGcCollectedObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:36
nostd::unique_ptr
Provide a simplified port of std::unique_ptr that has ABI stability.
Definition: includes/opentelemetry/nostd/unique_ptr.h:45
semconv::cpython::CreateAsyncDoubleMetricCpythonGcCollectedObjects
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricCpythonGcCollectedObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:60
semconv::cpython::descrMetricCpythonGcCollectedObjects
static constexpr const char * descrMetricCpythonGcCollectedObjects
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:31
semconv::cpython::CreateSyncDoubleMetricCpythonGcCollections
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricCpythonGcCollections(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:87
semconv::cpython::CreateAsyncInt64MetricCpythonGcCollectedObjects
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricCpythonGcCollectedObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:52
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
Definition: includes/opentelemetry/semconv/azure_metrics.h:18
semconv::cpython::descrMetricCpythonGcUncollectableObjects
static constexpr const char * descrMetricCpythonGcUncollectableObjects
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:115
semconv::cpython::descrMetricCpythonGcCollections
static constexpr const char * descrMetricCpythonGcCollections
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:75
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition: includes/opentelemetry/version.h:21
semconv::cpython::kMetricCpythonGcCollectedObjects
static constexpr const char * kMetricCpythonGcCollectedObjects
The total number of objects collected inside a generation since interpreter start.
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:30
semconv::cpython::unitMetricCpythonGcCollections
static constexpr const char * unitMetricCpythonGcCollections
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:77
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::cpython::CreateAsyncInt64MetricCpythonGcUncollectableObjects
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricCpythonGcUncollectableObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:137
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
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::cpython::kMetricCpythonGcUncollectableObjects
static constexpr const char * kMetricCpythonGcUncollectableObjects
The total number of objects which were found to be uncollectable inside a generation since interprete...
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:113
semconv::cpython::kMetricCpythonGcCollections
static constexpr const char * kMetricCpythonGcCollections
The number of times a generation was collected since interpreter start.
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:74
semconv::cpython::CreateSyncDoubleMetricCpythonGcUncollectableObjects
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricCpythonGcUncollectableObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:129
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 ...
semconv::cpython::CreateAsyncDoubleMetricCpythonGcUncollectableObjects
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricCpythonGcUncollectableObjects(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:145
semconv::cpython::CreateAsyncInt64MetricCpythonGcCollections
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricCpythonGcCollections(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:94
metrics::Meter
Handles instrument creation and provides a facility for batch recording.
Definition: includes/opentelemetry/metrics/meter.h:37
semconv::cpython::CreateAsyncDoubleMetricCpythonGcCollections
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricCpythonGcCollections(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:101
semconv::cpython::CreateSyncInt64MetricCpythonGcCollections
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricCpythonGcCollections(metrics::Meter *meter)
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:80
semconv::cpython::unitMetricCpythonGcUncollectableObjects
static constexpr const char * unitMetricCpythonGcUncollectableObjects
Definition: includes/opentelemetry/semconv/incubating/cpython_metrics.h:118