Tracing Properties
Tracing Properties describes the properties available for configuring CHF Proxy Open Telemetry tracing:
Property | Description |
---|---|
tracing.openTelemetry.enable | When set to true , enables tracing. The default value is false . |
tracing.openTelemetry.policy | The policy controlling the behavior across boundaries. Valid values are IGNORE , PROPAGATE or ALWAYS . The default
value is ALWAYS . |
tracing.openTelemetry.endpointUrl | The OLTP exporter endpoint URL, for example, an OpenTelemetry collector. The default value is http://localhost:4317 . |
tracing.openTelemetry.serviceName | The value of the service name resource attribute in Span . The default value is chf-proxy . |
tracing.openTelemetry.traces.sampler | The method used to select a representative trace or span for sampling. Accepted values for sampler: ALWAYS_ON , ALWAYS_OFF ,
PARENTBASED_ALWAYS_ON , PARENTBASED_ALWAYS_OFF , PARENTBASED_TRACEIDRATIO , TRACEIDRATIO . The
default value is PARENTBASED_ALWAYS_ON . |
tracing.openTelemetry.traces.ratio | Ratio for sampling traces based on TraceID values to control the volume of collected trace data. This must be set if the value of
tracing.openTelemetry.traces.sampler is PARENTBASED_TRACEIDRATIO or TRACEIDRATIO . The default value is
0.1. |
tracing.openTelemetry.traces.subscribers | A list of subscribers to trace. The list is empty by default. |
tracing.openTelemetry.traces.propagateHeaders | A list of custom headers to propagate. The default value is [x-request-id] . |