Constant OTEL_SDK_EXPORTER_SPAN_INFLIGHT
pub const OTEL_SDK_EXPORTER_SPAN_INFLIGHT: &'static str;Available on crate features
opentelemetry and semconv_experimental only.Expand description
§Description
The number of spans which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)
§Notes
For successful exports, error.type MUST NOT be set. For failed exports, error.type MUST contain the failure cause
§Metadata
| Instrument: | updowncounter |
| Unit: | {span} |
| Status: | Development |
§Attributes
| Name | Requirement |
|---|---|
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"} |