An internal opaque interface that the MetricReader receives as MetricProducer.
It acts as the storage key to the internal metric stream state for each MetricReader.
Definition at line 41 of file includes/opentelemetry/sdk/metrics/state/metric_collector.h.
|
| enum | Status {
Status::kSuccess,
Status::kFailure,
Status::kTimeout,
Status::kSuccess,
Status::kFailure,
Status::kTimeout
} |
| |
| enum | Status {
Status::kSuccess,
Status::kFailure,
Status::kTimeout,
Status::kSuccess,
Status::kFailure,
Status::kTimeout
} |
| |
◆ Status [1/2]
◆ Status [2/2]
◆ MetricCollector() [1/2]
◆ ~MetricCollector() [1/2]
| sdk::metrics::MetricCollector::~MetricCollector |
( |
| ) |
|
|
overridedefault |
◆ MetricCollector() [2/2]
◆ ~MetricCollector() [2/2]
| sdk::metrics::MetricCollector::~MetricCollector |
( |
| ) |
|
|
overridedefault |
◆ ForceFlush() [1/2]
◆ ForceFlush() [2/2]
◆ GetAggregationTemporality() [1/2]
◆ GetAggregationTemporality() [2/2]
◆ Produce() [1/2]
| Result sdk::metrics::MetricCollector::Produce |
( |
| ) |
|
|
overridevirtualnoexcept |
The callback to be called for each metric exporter.
This will only be those metrics that have been produced since the last time this method was called.
- Returns
- a status of completion of method.
Implements sdk::metrics::MetricProducer.
◆ Produce() [2/2]
| Result sdk::metrics::MetricCollector::Produce |
( |
| ) |
|
|
overridevirtualnoexcept |
The callback to be called for each metric exporter.
This will only be those metrics that have been produced since the last time this method was called.
- Returns
- a status of completion of method.
Implements sdk::metrics::MetricProducer.
◆ Shutdown() [1/2]
◆ Shutdown() [2/2]
The documentation for this class was generated from the following file: