Skip to main content

config/config.exs

import Config

# Impact does not register OTel providers at compile time. Runtime wiring is performed
# by `Impact.init/1` according to the selected mode (`:auto | :bootstrap | :attach`).
#
# When `mode: :bootstrap`, Impact configures :opentelemetry and :opentelemetry_exporter
# at runtime to ship to the resolved Impact endpoint via OTLP/HTTP-protobuf.

config :opentelemetry,
  span_processor: :batch,
  traces_exporter: :none

config :opentelemetry_exporter,
  otlp_protocol: :http_protobuf