Savant icon indicating copy to clipboard operation
Savant copied to clipboard

Support telemetry in adapters

Open bwsw opened this issue 2 years ago • 0 comments

Make adapters accept telemetry parameters. By default, telemetry is disabled. The adapter must trace its stages and propagate telemetry to its output when enabled.

The telemetry configuration accepts the following parameters:

  • OTLP_TRACER_TYPE: noop, jaeger, default noop;
  • OTLP_TRACER_URL: tracer-specific URL (like localhost:port)
  • OTLP_SAMPLING_RATE: 1-N, default 100;
  • OTLP_TRACER_NAME: specified tracer name, by default: by source-adapter name, e.g., rtsp-source
  • OTLP_ROOT_SPAN_NAME: source-pipeline for sources, sink-pipeline for sinks.

The OTLP_SAMPLING_RATE parameter is only configurable for the source adapters.

bwsw avatar Aug 22 '23 11:08 bwsw