Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 57 additions & 33 deletions mesh/v1alpha1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions mesh/v1alpha1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,14 @@ message MeshConfig {
// This controls both downstream request header extraction and upstream request header injection.
// The default value is USE_B3 to maintain backward compatibility.
TraceContextOption trace_context_option = 6;

// Optional. The timeout for the HTTP request to the Zipkin collector.
// If not specified, the default timeout from Envoy's configuration will be used (which is 5 seconds currently).
google.protobuf.Duration timeout = 7;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please specify what is the current Envoy default?

"the default timeout from Envoy's configuration will be used" -> "the default timeout of 5s(or whatever) will be used"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default timeout if 5seconds, it exists in the envoy source code here

const uint64_t timeout =
        runtime_.snapshot().getInteger("tracing.zipkin.request_timeout", 5000U);

Copy link
Contributor

@ramaraochavali ramaraochavali Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the protobuf comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated !


// Optional. Additional HTTP headers to include in the request to the Zipkin collector.
// These headers will be added to the HTTP request when sending spans to the collector.
repeated HttpHeader headers = 8;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if there is a strong use case to add this to Istio APIs now for two reasons

  • Increasing API surface area
  • This field is new in Envoy. So want to avoid version checks that we do for backward compatibility if possible

It may be generally useful but want to get other @istio/technical-oversight-committee's opinion before approving

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ramaraochavali. Specifically, this field serves as a uniform mechanism for specifying headers, including existing fields such as collector_host. This field also allows adding Host, authentication or authorization cookies, and other custom headers, this is not possible today.

The intent is to harmonizing existing configuration and improving forward compatibility, creating a cleaner, more extensible interface for header management across telemetry, AuthN/AuthZ, and custom integrations.

}

// Defines configuration for a Lightstep tracer.
Expand Down
20 changes: 20 additions & 0 deletions mesh/v1alpha1/istio.mesh.v1alpha1.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.