Kafka CDR Consumer Tracing Properties
You can configure tracing in the Kafka CDR Consumer Helm chart by using the OpenTelemetry SDK Auto Configure Extension and exporting environment variables. OpenTelemetry Configuration Properties describes the environment variables that configure OpenTelemetry tracing for Kafka CDR Consumer.
Property | Description |
---|---|
opentelemetry.enable | Set to true to enable OpenTelemetry
tracing. |
opentelemetry.serviceName | The service name, for example, kafka-cdr-consumer. |
opentelemetry.endPointUrl | The URL to the OpenTelemetry Collector endpoint. The default is http://localhost:4317. |
opentelemetry.propagators | A comma-separated list of propagators that propagate the trace context over the wire. |
opentelemetry.tracesExporter | The trace exporter. Set the value to otlp when
paired with OpenTelemetry Collector server. |
opentelemetry.resourceAttributes | Specifies additional OpenTelemetry resource attributes in the format: key1=val1,key2=val2,key3=val3. |
The following is a tracing configuration
example:
opentelemetry:
# telemetry required engine.transportType set to HTTP_1_1 or HTTP_2
enable: false
serviceName: kafka-cdr-consumer
endPointUrl: http://localhost:4317
propagators: b3multi
tracesExporter: otlp
# Specify additional OpenTelemetry resource attributes in format: key1=val1,key2=val2,key3=val3
resourceAttributes: ""