Skip to main content

OTEL_EVENT_NAME

Constant OTEL_EVENT_NAME 

pub const OTEL_EVENT_NAME: &'static str;
Available on crate feature opentelemetry only.
Expand description

Identifies the class / type of event.

§Notes

This attribute SHOULD be used by non-OTLP exporters when destination does not support EventName or equivalent field. This attribute MAY be used by applications using existing logging libraries so that it can be used to set the EventName field by Collector or SDK components.

§Examples

  • "browser.mouse.click"
  • "device.app.lifecycle"