Zipkin

To enable the Zipkin:

  1. [tracing]
  2. [tracing.zipkin]
  1. tracing:
  2. zipkin: {}
  1. --tracing.zipkin=true

httpEndpoint

Required, Default="http://localhost:9411/api/v2/spans"

Zipkin HTTP endpoint used to send data.

  1. [tracing]
  2. [tracing.zipkin]
  3. httpEndpoint = "http://localhost:9411/api/v2/spans"
  1. tracing:
  2. zipkin:
  3. httpEndpoint: http://localhost:9411/api/v2/spans
  1. --tracing.zipkin.httpEndpoint=http://localhost:9411/api/v2/spans

sameSpan

Optional, Default=false

Use Zipkin SameSpan RPC style traces.

  1. [tracing]
  2. [tracing.zipkin]
  3. sameSpan = true
  1. tracing:
  2. zipkin:
  3. sameSpan: true
  1. --tracing.zipkin.sameSpan=true

id128Bit

Optional, Default=true

Use Zipkin 128 bit trace IDs.

  1. [tracing]
  2. [tracing.zipkin]
  3. id128Bit = false
  1. tracing:
  2. zipkin:
  3. id128Bit: false
  1. --tracing.zipkin.id128Bit=false

sampleRate

Required, Default=1.0

The rate between 0.0 and 1.0 of requests to trace.

  1. [tracing]
  2. [tracing.zipkin]
  3. sampleRate = 0.2
  1. tracing:
  2. zipkin:
  3. sampleRate: 0.2
  1. --tracing.zipkin.sampleRate=0.2