Skip to content

Commit 1d53815

Browse files
authored
Add timeout and headers configuration to ZipkinTracingProvider (#3587)
* Add timeout and headers configuration to ZipkinTracingProvider - Add timeout field to configure HTTP request timeout to Zipkin collector - Add headers field to allow custom HTTP headers in Zipkin requests This enhancement provides more control over Zipkin collector communication, enabling custom authentication, authorization, and metadata headers. * Add timeout and headers configuration to ZipkinTracingProvider - Add timeout field to configure HTTP request timeout to Zipkin collector - Add headers field to allow custom HTTP headers in Zipkin requests This enhancement provides more control over Zipkin collector communication, enabling custom authentication, authorization, and metadata headers. * Add timeout and headers configuration to ZipkinTracingProvider - Add timeout field to configure HTTP request timeout to Zipkin collector - Add headers field to allow custom HTTP headers in Zipkin requests This enhancement provides more control over Zipkin collector communication, enabling custom authentication, authorization, and metadata headers.# On branch master * Add timeout and headers configuration to ZipkinTracingProvider - Add timeout field to configure HTTP request timeout to Zipkin collector - Add headers field to allow custom HTTP headers in Zipkin requests This enhancement provides more control over Zipkin collector communication, enabling custom authentication, authorization, and metadata headers. * Add timeout and headers configuration to ZipkinTracingProvider - Add timeout field to configure HTTP request timeout to Zipkin collector - Add headers field to allow custom HTTP headers in Zipkin requests This enhancement provides more control over Zipkin collector communication, enabling custom authentication, authorization, and metadata headers.
1 parent d3964d3 commit 1d53815

File tree

4 files changed

+85
-33
lines changed

4 files changed

+85
-33
lines changed

mesh/v1alpha1/config.pb.go

Lines changed: 57 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mesh/v1alpha1/config.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,14 @@ message MeshConfig {
821821
// This controls both downstream request header extraction and upstream request header injection.
822822
// The default value is USE_B3 to maintain backward compatibility.
823823
TraceContextOption trace_context_option = 6;
824+
825+
// Optional. The timeout for the HTTP request to the Zipkin collector.
826+
// If not specified, the default timeout from Envoy's configuration will be used (which is 5 seconds currently).
827+
google.protobuf.Duration timeout = 7;
828+
829+
// Optional. Additional HTTP headers to include in the request to the Zipkin collector.
830+
// These headers will be added to the HTTP request when sending spans to the collector.
831+
repeated HttpHeader headers = 8;
824832
}
825833

826834
// Defines configuration for a Lightstep tracer.

mesh/v1alpha1/istio.mesh.v1alpha1.pb.html

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)