Savant
Savant copied to clipboard
Support telemetry in adapters
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, defaultnoop;OTLP_TRACER_URL: tracer-specific URL (likelocalhost:port)OTLP_SAMPLING_RATE: 1-N, default100;OTLP_TRACER_NAME: specified tracer name, by default: by source-adapter name, e.g.,rtsp-sourceOTLP_ROOT_SPAN_NAME:source-pipelinefor sources,sink-pipelinefor sinks.
The OTLP_SAMPLING_RATE parameter is only configurable for the source adapters.