Constant OTEL_SDK_EXPORTER_METRIC_DATA_POINT_EXPORTED
pub const OTEL_SDK_EXPORTER_METRIC_DATA_POINT_EXPORTED: &'static str;opentelemetry and semconv_experimental only.Expand description
§Description
The number of metric data points for which the export has finished, either successful or failed.
§Notes
For successful exports, error.type MUST NOT be set. For failed exports, error.type MUST contain the failure cause.
For exporters with partial success semantics (e.g. OTLP with rejected_data_points), rejected data points MUST count as failed and only non-rejected data points count as success.
If no rejection reason is available, rejected SHOULD be used as value for error.type.
If the exporter retries failed export attempts, the export operation is considered finished only after the final attempt has concluded.
Each metric data point MUST be counted exactly once per export operation: intermediate failed attempts that are followed by a retry MUST NOT increment the counter,
and error.type reflects the cause of the final attempt
§Metadata
| Instrument: | counter |
| Unit: | {data_point} |
| Status: | Development |
§Attributes
| Name | Requirement |
|---|---|
crate::attribute::ERROR_TYPE | Recommended |
crate::attribute::OTEL_COMPONENT_NAME | Recommended |
crate::attribute::OTEL_COMPONENT_TYPE | Recommended |
crate::attribute::SERVER_ADDRESS | {"recommended": "when applicable"} |
crate::attribute::SERVER_PORT | {"recommended": "when applicable"} |