Skip to main content
Midaz exports traces, logs, and metrics through OpenTelemetry (OTLP). Run a collector, then point Midaz at it.

1. Run a collector


Use your own OpenTelemetry collector, or Alloy Lerian, the Lerian collection agent, which exports the telemetry to Lerian’s central telemetry backend. To install it, see the Alloy Lerian chart README.

2. Point Midaz at the collector


Set OTEL_EXPORTER_OTLP_ENDPOINT to the collector address on the Ledger, and on Tracer when you run it. An endpoint without https:// is plaintext. When OTEL_RESOURCE_DEPLOYMENT_ENVIRONMENT is production, the Ledger does not start with a plaintext exporter unless ALLOW_INSECURE_OTEL names a reason, for example ALLOW_INSECURE_OTEL="node-local collector". For how the Midaz chart sets these variables, see the Midaz chart README. For the telemetry variables of the other Lerian services, see BYOC configuration essentials.