|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
9 #include "opentelemetry/exporters/otlp/otlp_http_client.h"
10 #include "opentelemetry/exporters/otlp/otlp_http_metric_exporter_options.h"
11 #include "opentelemetry/exporters/otlp/otlp_http_metric_exporter_runtime_options.h"
12 #include "opentelemetry/sdk/common/exporter_utils.h"
13 #include "opentelemetry/sdk/metrics/export/metric_producer.h"
14 #include "opentelemetry/sdk/metrics/instruments.h"
15 #include "opentelemetry/sdk/metrics/push_metric_exporter.h"
16 #include "opentelemetry/version.h"
57 const opentelemetry::sdk::metrics::ResourceMetrics &
data) noexcept
override;
78 std::unique_ptr<OtlpHttpClient> http_client_;
ExportResult
ExportResult is returned as result of exporting a batch of Records.
bool Shutdown(std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override
Struct to hold OTLP HTTP metrics exporter options.
opentelemetry::sdk::common::ExportResult Export(const opentelemetry::sdk::metrics::ResourceMetrics &data) noexcept override
#define OPENTELEMETRY_BEGIN_NAMESPACE
std::function< AggregationTemporality(InstrumentType)> AggregationTemporalitySelector
int max(int a, int b)
Compute the component-wise maximum.
The OTLP exporter exports metrics data in OpenTelemetry Protocol (OTLP) format in HTTP.
#define OPENTELEMETRY_END_NAMESPACE
friend class OtlpHttpMetricExporterTestPeer
sdk::metrics::AggregationTemporality GetAggregationTemporality(sdk::metrics::InstrumentType instrument_type) const noexcept override
Get the AggregationTemporality for exporter.
bool ForceFlush(std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override
Force flush the exporter.
Struct to hold OTLP HTTP metrics exporter runtime options.
OtlpHttpMetricExporter()
Create an OtlpHttpMetricExporter with default exporter options.