constellation/runtime/otp/telemetry

Structured lifecycle telemetry for OTP stages.

Types

A structured observation emitted by an OTP stage.

pub type Event {
  Event(
    trace_id: Int,
    stage_pid: String,
    operation: String,
    phase: String,
    detail: String,
  )
}

Constructors

  • Event(
      trace_id: Int,
      stage_pid: String,
      operation: String,
      phase: String,
      detail: String,
    )

Values

pub fn format(event: Event) -> String

Formats an event using the default key-value representation.

pub fn log(event: Event) -> Nil

Writes a structured event through the standard Erlang logger.

Search Document