Module Opentelemetry_client.Emitter_combine

Combine multiple emitters into one.

type closing_behavior = [
  1. | `Close_when_all_closed
  2. | `Close_when_one_closed
]

When to close the combined emitter:

  • `Close_when_all_closed: closed when all the emitters that are combined are closed
  • `Close_when_one_closed: closed as soon as one of the emitters is closed