Module Octez_telemetry.Opentelemetry_config

type t = {
  1. enable : bool;
    (*

    When this is false, opentelemetry should not be enabled.

    *)
  2. instance_id : string option;
    (*

    User provided instance identifier for opentelemetry traces.

    *)
  3. config : Opentelemetry_client_cohttp_lwt.Config.t;
    (*

    The actual configuration to use for opentelemetry when enable = true.

    *)
}

Type for opentelemetry configuration.

val default : t

Default config, disabled.

Encoding, to be used in configuration files.