diff --git a/api/envoy/config/trace/v2/zipkin.proto b/api/envoy/config/trace/v2/zipkin.proto index a825d85bb7f9..2289e55bfe68 100644 --- a/api/envoy/config/trace/v2/zipkin.proto +++ b/api/envoy/config/trace/v2/zipkin.proto @@ -17,7 +17,7 @@ option (udpa.annotations.file_status).package_version_status = FROZEN; // Configuration for the Zipkin tracer. // [#extension: envoy.tracers.zipkin] -// [#next-free-field: 6] +// [#next-free-field: 7] message ZipkinConfig { // Available Zipkin collector endpoint versions. enum CollectorEndpointVersion { @@ -61,4 +61,8 @@ message ZipkinConfig { // Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be // used. CollectorEndpointVersion collector_endpoint_version = 5; + + // Optional hostname to use when sending spans to the collector_cluster. Useful for collectors + // that require a specific hostname. Defaults to `collector_cluster` above. + string collector_hostname = 6; } diff --git a/generated_api_shadow/envoy/config/trace/v2/zipkin.proto b/generated_api_shadow/envoy/config/trace/v2/zipkin.proto index a825d85bb7f9..2289e55bfe68 100644 --- a/generated_api_shadow/envoy/config/trace/v2/zipkin.proto +++ b/generated_api_shadow/envoy/config/trace/v2/zipkin.proto @@ -17,7 +17,7 @@ option (udpa.annotations.file_status).package_version_status = FROZEN; // Configuration for the Zipkin tracer. // [#extension: envoy.tracers.zipkin] -// [#next-free-field: 6] +// [#next-free-field: 7] message ZipkinConfig { // Available Zipkin collector endpoint versions. enum CollectorEndpointVersion { @@ -61,4 +61,8 @@ message ZipkinConfig { // Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be // used. CollectorEndpointVersion collector_endpoint_version = 5; + + // Optional hostname to use when sending spans to the collector_cluster. Useful for collectors + // that require a specific hostname. Defaults to `collector_cluster` above. + string collector_hostname = 6; }