Zipkin tracer¶
config.trace.v2.ZipkinConfig¶
[config.trace.v2.ZipkinConfig proto]
Configuration for the Zipkin tracer.
This extension may be referenced by the qualified name envoy.tracers.zipkin
Note
This extension is intended to be robust against untrusted downstream traffic. It assumes that the upstream is trusted.
{
"collector_cluster": "...",
"collector_endpoint": "...",
"trace_id_128bit": "...",
"shared_span_context": "{...}",
"collector_endpoint_version": "..."
}
- collector_cluster
(string, REQUIRED) The cluster manager cluster that hosts the Zipkin collectors. Note that the Zipkin cluster must be defined in the Bootstrap static cluster resources.
- collector_endpoint
(string, REQUIRED) The API endpoint of the Zipkin service where the spans will be sent. When using a standard Zipkin installation, the API endpoint is typically /api/v1/spans, which is the default value.
- trace_id_128bit
(bool) Determines whether a 128bit trace id will be used when creating a new trace instance. The default value is false, which will result in a 64 bit trace id being used.
- collector_endpoint_version
(config.trace.v2.ZipkinConfig.CollectorEndpointVersion) Determines the selected collector endpoint version. By default, the
HTTP_JSON_V1
will be used.
Enum config.trace.v2.ZipkinConfig.CollectorEndpointVersion¶
[config.trace.v2.ZipkinConfig.CollectorEndpointVersion proto]
Available Zipkin collector endpoint versions.
- HTTP_JSON_V1
(DEFAULT) Zipkin API v1, JSON over HTTP.
- HTTP_JSON
Zipkin API v2, JSON over HTTP.
- HTTP_PROTO
Zipkin API v2, protobuf over HTTP.