mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 01:09:36 +02:00
envoyconfig: default zipkin path to / when empty (#2359)
This commit is contained in:
parent
4c64daa8c2
commit
a9ba3ffff5
1 changed files with 5 additions and 1 deletions
|
@ -113,9 +113,13 @@ func buildTracingHTTP(options *config.Options) (*envoy_config_trace_v3.Tracing_H
|
|||
},
|
||||
}, nil
|
||||
case trace.ZipkinTracingProviderName:
|
||||
path := tracingOptions.ZipkinEndpoint.Path
|
||||
if path == "" {
|
||||
path = "/"
|
||||
}
|
||||
tracingTC, _ := anypb.New(&envoy_config_trace_v3.ZipkinConfig{
|
||||
CollectorCluster: "zipkin",
|
||||
CollectorEndpoint: tracingOptions.ZipkinEndpoint.Path,
|
||||
CollectorEndpoint: path,
|
||||
CollectorEndpointVersion: envoy_config_trace_v3.ZipkinConfig_HTTP_JSON,
|
||||
})
|
||||
return &envoy_config_trace_v3.Tracing_Http{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue