Extract, clear, and inject

Configure the Zipkin plugin to extract, clear, and inject the following:

  • Extract the tracing context using order of precedence: w3c > b3 > jaeger > ot > aws > datadog
  • Clear b3 and uber-trace-id headers after extraction, if present in the request
  • Inject the tracing context using the format: w3c

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: zipkin
    config:
      propagation:
        extract:
        - w3c
        - b3
        - jaeger
        - ot
        - aws
        - datadog
        clear:
        - b3
        - uber-trace-id
        inject:
        - w3c
        default_format: w3c
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!