NVIDIA DeepStream SDK API Reference

9.2 Release
exporter::otlp::OtlpHttpMetricExporter Class Referencefinal

Detailed Description

The OTLP exporter exports metrics data in OpenTelemetry Protocol (OTLP) format in HTTP.

Definition at line 26 of file includes/opentelemetry/exporters/otlp/otlp_http_metric_exporter.h.

Inheritance diagram for exporter::otlp::OtlpHttpMetricExporter:
Collaboration diagram for exporter::otlp::OtlpHttpMetricExporter:

Public Member Functions

 OtlpHttpMetricExporter ()
 Create an OtlpHttpMetricExporter with default exporter options. More...
 
 OtlpHttpMetricExporter (const OtlpHttpMetricExporterOptions &options)
 Create an OtlpHttpMetricExporter with user specified options. More...
 
 OtlpHttpMetricExporter (const OtlpHttpMetricExporterOptions &options, const OtlpHttpMetricExporterRuntimeOptions &runtime_options)
 Create an OtlpHttpMetricExporter with user specified options. More...
 
sdk::metrics::AggregationTemporality GetAggregationTemporality (sdk::metrics::InstrumentType instrument_type) const noexcept override
 Get the AggregationTemporality for exporter. More...
 
opentelemetry::sdk::common::ExportResult Export (const opentelemetry::sdk::metrics::ResourceMetrics &data) noexcept override
 
bool ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override
 Force flush the exporter. More...
 
bool Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override
 
 OtlpHttpMetricExporter ()
 Create an OtlpHttpMetricExporter with default exporter options. More...
 
 OtlpHttpMetricExporter (const OtlpHttpMetricExporterOptions &options)
 Create an OtlpHttpMetricExporter with user specified options. More...
 
 OtlpHttpMetricExporter (const OtlpHttpMetricExporterOptions &options, const OtlpHttpMetricExporterRuntimeOptions &runtime_options)
 Create an OtlpHttpMetricExporter with user specified options. More...
 
sdk::metrics::AggregationTemporality GetAggregationTemporality (sdk::metrics::InstrumentType instrument_type) const noexcept override
 Get the AggregationTemporality for exporter. More...
 
opentelemetry::sdk::common::ExportResult Export (const opentelemetry::sdk::metrics::ResourceMetrics &data) noexcept override
 
bool ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override
 Force flush the exporter. More...
 
bool Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override
 

Friends

class OtlpHttpMetricExporterTestPeer
 

Constructor & Destructor Documentation

◆ OtlpHttpMetricExporter() [1/6]

exporter::otlp::OtlpHttpMetricExporter::OtlpHttpMetricExporter ( )

Create an OtlpHttpMetricExporter with default exporter options.

◆ OtlpHttpMetricExporter() [2/6]

exporter::otlp::OtlpHttpMetricExporter::OtlpHttpMetricExporter ( const OtlpHttpMetricExporterOptions &  options)

Create an OtlpHttpMetricExporter with user specified options.

Parameters
optionsAn object containing the user's configuration options.

◆ OtlpHttpMetricExporter() [3/6]

exporter::otlp::OtlpHttpMetricExporter::OtlpHttpMetricExporter ( const OtlpHttpMetricExporterOptions &  options,
const OtlpHttpMetricExporterRuntimeOptions &  runtime_options 
)

Create an OtlpHttpMetricExporter with user specified options.

Parameters
optionsAn object containing the user's configuration options.
runtime_optionsAn object containing the user's runtime options.

◆ OtlpHttpMetricExporter() [4/6]

exporter::otlp::OtlpHttpMetricExporter::OtlpHttpMetricExporter ( )

Create an OtlpHttpMetricExporter with default exporter options.

◆ OtlpHttpMetricExporter() [5/6]

exporter::otlp::OtlpHttpMetricExporter::OtlpHttpMetricExporter ( const OtlpHttpMetricExporterOptions &  options)

Create an OtlpHttpMetricExporter with user specified options.

Parameters
optionsAn object containing the user's configuration options.

◆ OtlpHttpMetricExporter() [6/6]

exporter::otlp::OtlpHttpMetricExporter::OtlpHttpMetricExporter ( const OtlpHttpMetricExporterOptions &  options,
const OtlpHttpMetricExporterRuntimeOptions &  runtime_options 
)

Create an OtlpHttpMetricExporter with user specified options.

Parameters
optionsAn object containing the user's configuration options.
runtime_optionsAn object containing the user's runtime options.

Member Function Documentation

◆ Export() [1/2]

opentelemetry::sdk::common::ExportResult exporter::otlp::OtlpHttpMetricExporter::Export ( const opentelemetry::sdk::metrics::ResourceMetrics &  data)
overridenoexcept

◆ Export() [2/2]

opentelemetry::sdk::common::ExportResult exporter::otlp::OtlpHttpMetricExporter::Export ( const opentelemetry::sdk::metrics::ResourceMetrics &  data)
overridenoexcept

◆ ForceFlush() [1/2]

bool exporter::otlp::OtlpHttpMetricExporter::ForceFlush ( std::chrono::microseconds  timeout = (std::chrono::microseconds::max)())
overridenoexcept

Force flush the exporter.

◆ ForceFlush() [2/2]

bool exporter::otlp::OtlpHttpMetricExporter::ForceFlush ( std::chrono::microseconds  timeout = (std::chrono::microseconds::max)())
overridenoexcept

Force flush the exporter.

◆ GetAggregationTemporality() [1/2]

sdk::metrics::AggregationTemporality exporter::otlp::OtlpHttpMetricExporter::GetAggregationTemporality ( sdk::metrics::InstrumentType  instrument_type) const
overridenoexcept

Get the AggregationTemporality for exporter.

Returns
AggregationTemporality

◆ GetAggregationTemporality() [2/2]

sdk::metrics::AggregationTemporality exporter::otlp::OtlpHttpMetricExporter::GetAggregationTemporality ( sdk::metrics::InstrumentType  instrument_type) const
overridenoexcept

Get the AggregationTemporality for exporter.

Returns
AggregationTemporality

◆ Shutdown() [1/2]

bool exporter::otlp::OtlpHttpMetricExporter::Shutdown ( std::chrono::microseconds  timeout = (std::chrono::microseconds::max)())
overridenoexcept

◆ Shutdown() [2/2]

bool exporter::otlp::OtlpHttpMetricExporter::Shutdown ( std::chrono::microseconds  timeout = (std::chrono::microseconds::max)())
overridenoexcept

Friends And Related Function Documentation

◆ OtlpHttpMetricExporterTestPeer

OtlpHttpMetricExporterTestPeer
friend

The documentation for this class was generated from the following file: