PushMetricExporter defines the interface to be used by metrics libraries to push metrics data to the OpenTelemetry exporters.
Definition at line 24 of file includes/opentelemetry/sdk/metrics/push_metric_exporter.h.
◆ ~PushMetricExporter() [1/2]
| virtual sdk::metrics::PushMetricExporter::~PushMetricExporter |
( |
| ) |
|
|
virtualdefault |
◆ ~PushMetricExporter() [2/2]
| virtual sdk::metrics::PushMetricExporter::~PushMetricExporter |
( |
| ) |
|
|
virtualdefault |
◆ Export() [1/2]
| virtual opentelemetry::sdk::common::ExportResult sdk::metrics::PushMetricExporter::Export |
( |
const ResourceMetrics & |
data | ) |
|
|
pure virtualnoexcept |
Exports a batch of metrics data.
This method must not be called concurrently for the same exporter instance.
- Parameters
-
◆ Export() [2/2]
| virtual opentelemetry::sdk::common::ExportResult sdk::metrics::PushMetricExporter::Export |
( |
const ResourceMetrics & |
data | ) |
|
|
pure virtualnoexcept |
Exports a batch of metrics data.
This method must not be called concurrently for the same exporter instance.
- Parameters
-
◆ ForceFlush() [1/2]
Force flush the exporter.
◆ ForceFlush() [2/2]
Force flush the exporter.
◆ GetAggregationTemporality() [1/2]
Get the AggregationTemporality for given Instrument Type for this exporter.
- Returns
- AggregationTemporality
◆ GetAggregationTemporality() [2/2]
Get the AggregationTemporality for given Instrument Type for this exporter.
- Returns
- AggregationTemporality
◆ Shutdown() [1/2]
Shut down the metric exporter.
- Parameters
-
| timeout | an optional timeout. |
- Returns
- return the status of the operation.
◆ Shutdown() [2/2]
Shut down the metric exporter.
- Parameters
-
| timeout | an optional timeout. |
- Returns
- return the status of the operation.
The documentation for this class was generated from the following file: