From 587e3226bebebd3f2048607f0acafaded500fcea Mon Sep 17 00:00:00 2001 From: Ahmad Karimi <39967326+therealak12@users.noreply.github.com> Date: Sun, 4 Aug 2024 18:03:12 +0330 Subject: [PATCH] revert zipkin support (#9) --- apis/projectcontour/v1alpha1/contourconfig.go | 18 +---- .../v1alpha1/contourconfig_helpers.go | 8 -- .../v1alpha1/zz_generated.deepcopy.go | 5 -- cmd/contour/serve.go | 1 - cmd/contour/servecontext.go | 11 --- examples/contour/01-crds.yaml | 16 +--- examples/render/contour-deployment.yaml | 16 +--- .../render/contour-gateway-provisioner.yaml | 16 +--- examples/render/contour-gateway.yaml | 16 +--- examples/render/contour.yaml | 16 +--- internal/envoy/v3/tracing.go | 29 +------ internal/envoy/v3/tracing_test.go | 80 +------------------ internal/xdscache/v3/listener.go | 3 - pkg/config/parameters.go | 26 +----- .../docs/main/config/api-reference.html | 45 +---------- 15 files changed, 25 insertions(+), 281 deletions(-) diff --git a/apis/projectcontour/v1alpha1/contourconfig.go b/apis/projectcontour/v1alpha1/contourconfig.go index 33fb45e818d..ebeeaf9d817 100644 --- a/apis/projectcontour/v1alpha1/contourconfig.go +++ b/apis/projectcontour/v1alpha1/contourconfig.go @@ -82,7 +82,7 @@ type ContourConfigurationSpec struct { // +optional Metrics *MetricsConfig `json:"metrics,omitempty"` - // Tracing defines properties for exporting trace data to the tracing system. + // Tracing defines properties for exporting trace data to the OpenTelemetry. Tracing *TracingConfig `json:"tracing,omitempty"` // FeatureFlags defines toggle to enable new contour features. @@ -252,14 +252,6 @@ const ( HTTPVersion2 HTTPVersionType = "HTTP/2" ) -// TracingSystem is the tracing system used in Envoy -type TracingSystem string - -const ( - TracingSystemOpenTelemetry TracingSystem = "opentelemetry" - TracingSystemZipkin TracingSystem = "zipkin" -) - // EnvoyConfig defines how Envoy is to be Configured from Contour. type EnvoyConfig struct { // Listener hold various configurable Envoy listener values. @@ -808,7 +800,7 @@ type RateLimitServiceConfig struct { DefaultGlobalRateLimitPolicy *contour_v1.GlobalRateLimitPolicy `json:"defaultGlobalRateLimitPolicy,omitempty"` } -// TracingConfig defines properties for exporting trace data to the tracing system. +// TracingConfig defines properties for exporting trace data to OpenTelemetry. type TracingConfig struct { // IncludePodDetail defines a flag. // If it is true, contour will add the pod name and namespace to the span of the trace. @@ -838,12 +830,6 @@ type TracingConfig struct { // ExtensionService identifies the extension service defining the otel-collector. ExtensionService *NamespacedName `json:"extensionService"` - - // System specifies the tracing system used in Evnoy. - // Supported systems are "opentelemetry" and "zipkin". - // Defaults to "opentelemetry". - // +optional - System *TracingSystem `json:"system"` } // CustomTag defines custom tags with unique tag name diff --git a/apis/projectcontour/v1alpha1/contourconfig_helpers.go b/apis/projectcontour/v1alpha1/contourconfig_helpers.go index f4df2cd052c..0603a2281f5 100644 --- a/apis/projectcontour/v1alpha1/contourconfig_helpers.go +++ b/apis/projectcontour/v1alpha1/contourconfig_helpers.go @@ -98,14 +98,6 @@ func (t *TracingConfig) Validate() error { customTagNames = append(customTagNames, customTag.TagName) } - if t.System != nil { - switch *t.System { - case TracingSystemOpenTelemetry, TracingSystemZipkin: - default: - return fmt.Errorf("invalid tracing system %q", *t.System) - } - } - return nil } diff --git a/apis/projectcontour/v1alpha1/zz_generated.deepcopy.go b/apis/projectcontour/v1alpha1/zz_generated.deepcopy.go index e5a3f2a921d..f67df9e3f5d 100644 --- a/apis/projectcontour/v1alpha1/zz_generated.deepcopy.go +++ b/apis/projectcontour/v1alpha1/zz_generated.deepcopy.go @@ -1335,11 +1335,6 @@ func (in *TracingConfig) DeepCopyInto(out *TracingConfig) { *out = new(NamespacedName) **out = **in } - if in.System != nil { - in, out := &in.System, &out.System - *out = new(TracingSystem) - **out = **in - } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfig. diff --git a/cmd/contour/serve.go b/cmd/contour/serve.go index 20130aac422..4ab0b82e322 100644 --- a/cmd/contour/serve.go +++ b/cmd/contour/serve.go @@ -831,7 +831,6 @@ func (s *Server) setupTracingService(tracingConfig *contour_v1alpha1.TracingConf OverallSampling: overallSampling, MaxPathTagLength: ptr.Deref(tracingConfig.MaxPathTagLength, 256), CustomTags: customTags, - System: ptr.Deref(tracingConfig.System, contour_v1alpha1.TracingSystemOpenTelemetry), }, nil } diff --git a/cmd/contour/servecontext.go b/cmd/contour/servecontext.go index 17daa4e34ac..d31ba301f51 100644 --- a/cmd/contour/servecontext.go +++ b/cmd/contour/servecontext.go @@ -392,16 +392,6 @@ func (ctx *serveContext) convertToContourConfigurationSpec() contour_v1alpha1.Co }) } - var tracingSystem *contour_v1alpha1.TracingSystem - if ctx.Config.Tracing.System != nil { - switch *ctx.Config.Tracing.System { - case config.TracingSystemOpenTelemetry: - tracingSystem = ptr.To(contour_v1alpha1.TracingSystemOpenTelemetry) - case config.TracingSystemZipkin: - tracingSystem = ptr.To(contour_v1alpha1.TracingSystemZipkin) - } - } - tracingConfig = &contour_v1alpha1.TracingConfig{ IncludePodDetail: ctx.Config.Tracing.IncludePodDetail, ServiceName: ctx.Config.Tracing.ServiceName, @@ -412,7 +402,6 @@ func (ctx *serveContext) convertToContourConfigurationSpec() contour_v1alpha1.Co Name: namespacedName.Name, Namespace: namespacedName.Namespace, }, - System: tracingSystem, } } diff --git a/examples/contour/01-crds.yaml b/examples/contour/01-crds.yaml index 81c6a71f24f..2bf4c544314 100644 --- a/examples/contour/01-crds.yaml +++ b/examples/contour/01-crds.yaml @@ -1146,7 +1146,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data to - the tracing system. + the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with unique @@ -1210,12 +1210,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object @@ -5047,7 +5041,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data - to the tracing system. + to the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with @@ -5112,12 +5106,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object diff --git a/examples/render/contour-deployment.yaml b/examples/render/contour-deployment.yaml index 17786bf579a..530d0777bb1 100644 --- a/examples/render/contour-deployment.yaml +++ b/examples/render/contour-deployment.yaml @@ -1366,7 +1366,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data to - the tracing system. + the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with unique @@ -1430,12 +1430,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object @@ -5267,7 +5261,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data - to the tracing system. + to the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with @@ -5332,12 +5326,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object diff --git a/examples/render/contour-gateway-provisioner.yaml b/examples/render/contour-gateway-provisioner.yaml index 2e6d667ccfb..4ae67be4fa3 100644 --- a/examples/render/contour-gateway-provisioner.yaml +++ b/examples/render/contour-gateway-provisioner.yaml @@ -1157,7 +1157,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data to - the tracing system. + the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with unique @@ -1221,12 +1221,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object @@ -5058,7 +5052,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data - to the tracing system. + to the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with @@ -5123,12 +5117,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object diff --git a/examples/render/contour-gateway.yaml b/examples/render/contour-gateway.yaml index bc9dbaa8e66..2785627976a 100644 --- a/examples/render/contour-gateway.yaml +++ b/examples/render/contour-gateway.yaml @@ -1182,7 +1182,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data to - the tracing system. + the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with unique @@ -1246,12 +1246,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object @@ -5083,7 +5077,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data - to the tracing system. + to the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with @@ -5148,12 +5142,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object diff --git a/examples/render/contour.yaml b/examples/render/contour.yaml index eb16fbbba95..27c7fbb07e2 100644 --- a/examples/render/contour.yaml +++ b/examples/render/contour.yaml @@ -1366,7 +1366,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data to - the tracing system. + the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with unique @@ -1430,12 +1430,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object @@ -5267,7 +5261,7 @@ spec: type: object tracing: description: Tracing defines properties for exporting trace data - to the tracing system. + to the OpenTelemetry. properties: customTags: description: CustomTags defines a list of custom tags with @@ -5332,12 +5326,6 @@ spec: ServiceName defines the name for the service. contour's default is contour. type: string - system: - description: |- - System specifies the tracing system used in Evnoy. - Supported systems are "opentelemetry" and "zipkin". - Defaults to "opentelemetry". - type: string required: - extensionService type: object diff --git a/internal/envoy/v3/tracing.go b/internal/envoy/v3/tracing.go index e9a1e8b2317..05bbc615eec 100644 --- a/internal/envoy/v3/tracing.go +++ b/internal/envoy/v3/tracing.go @@ -14,8 +14,6 @@ package v3 import ( - "strings" - envoy_config_trace_v3 "github.com/envoyproxy/go-control-plane/envoy/config/trace/v3" envoy_filter_network_http_connection_manager_v3 "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3" envoy_trace_v3 "github.com/envoyproxy/go-control-plane/envoy/type/tracing/v3" @@ -23,7 +21,6 @@ import ( "google.golang.org/protobuf/types/known/wrapperspb" "k8s.io/apimachinery/pkg/types" - contour_v1alpha1 "github.com/projectcontour/contour/apis/projectcontour/v1alpha1" "github.com/projectcontour/contour/internal/dag" "github.com/projectcontour/contour/internal/protobuf" "github.com/projectcontour/contour/internal/timeout" @@ -43,18 +40,14 @@ func TracingConfig(tracing *EnvoyTracingConfig) *envoy_filter_network_http_conne } } - connManagerTracing := &envoy_filter_network_http_connection_manager_v3.HttpConnectionManager_Tracing{ + return &envoy_filter_network_http_connection_manager_v3.HttpConnectionManager_Tracing{ OverallSampling: &envoy_type_v3.Percent{ Value: tracing.OverallSampling, }, MaxPathTagLength: wrapperspb.UInt32(tracing.MaxPathTagLength), CustomTags: customTags, SpawnUpstreamSpan: wrapperspb.Bool(true), - } - - switch tracing.System { - case contour_v1alpha1.TracingSystemOpenTelemetry: - connManagerTracing.Provider = &envoy_config_trace_v3.Tracing_Http{ + Provider: &envoy_config_trace_v3.Tracing_Http{ Name: "envoy.tracers.opentelemetry", ConfigType: &envoy_config_trace_v3.Tracing_Http_TypedConfig{ TypedConfig: protobuf.MustMarshalAny(&envoy_config_trace_v3.OpenTelemetryConfig{ @@ -62,23 +55,8 @@ func TracingConfig(tracing *EnvoyTracingConfig) *envoy_filter_network_http_conne ServiceName: tracing.ServiceName, }), }, - } - case contour_v1alpha1.TracingSystemZipkin: - connManagerTracing.Provider = &envoy_config_trace_v3.Tracing_Http{ - Name: "envoy.tracers.zipkin", - ConfigType: &envoy_config_trace_v3.Tracing_Http_TypedConfig{ - TypedConfig: protobuf.MustMarshalAny(&envoy_config_trace_v3.ZipkinConfig{ - CollectorCluster: dag.ExtensionClusterName(tracing.ExtensionService), - CollectorHostname: strings.ReplaceAll(dag.ExtensionClusterName(tracing.ExtensionService), "/", "."), - CollectorEndpoint: "/api/v2/spans", - SharedSpanContext: wrapperspb.Bool(false), - CollectorEndpointVersion: envoy_config_trace_v3.ZipkinConfig_HTTP_JSON, - }), - }, - } + }, } - - return connManagerTracing } func customTag(tag *CustomTag) *envoy_trace_v3.CustomTag { @@ -126,7 +104,6 @@ type EnvoyTracingConfig struct { OverallSampling float64 MaxPathTagLength uint32 CustomTags []*CustomTag - System contour_v1alpha1.TracingSystem } type CustomTag struct { diff --git a/internal/envoy/v3/tracing_test.go b/internal/envoy/v3/tracing_test.go index 298e49c9ebd..e02ed7d114f 100644 --- a/internal/envoy/v3/tracing_test.go +++ b/internal/envoy/v3/tracing_test.go @@ -26,7 +26,6 @@ import ( "google.golang.org/protobuf/types/known/durationpb" "google.golang.org/protobuf/types/known/wrapperspb" - contour_v1alpha1 "github.com/projectcontour/contour/apis/projectcontour/v1alpha1" "github.com/projectcontour/contour/internal/k8s" "github.com/projectcontour/contour/internal/protobuf" "github.com/projectcontour/contour/internal/timeout" @@ -41,7 +40,7 @@ func TestTracingConfig(t *testing.T) { tracing: nil, want: nil, }, - "opentelemtry normal config": { + "normal config": { tracing: &EnvoyTracingConfig{ ExtensionService: k8s.NamespacedNameFrom("projectcontour/otel-collector"), ServiceName: "contour", @@ -63,7 +62,6 @@ func TestTracingConfig(t *testing.T) { RequestHeaderName: ":path", }, }, - System: contour_v1alpha1.TracingSystemOpenTelemetry, }, want: &envoy_filter_network_http_connection_manager_v3.HttpConnectionManager_Tracing{ OverallSampling: &envoy_type_v3.Percent{ @@ -116,7 +114,7 @@ func TestTracingConfig(t *testing.T) { SpawnUpstreamSpan: wrapperspb.Bool(true), }, }, - "opentelemtry no custom tag": { + "no custom tag": { tracing: &EnvoyTracingConfig{ ExtensionService: k8s.NamespacedNameFrom("projectcontour/otel-collector"), ServiceName: "contour", @@ -125,7 +123,6 @@ func TestTracingConfig(t *testing.T) { OverallSampling: 100, MaxPathTagLength: 256, CustomTags: nil, - System: contour_v1alpha1.TracingSystemOpenTelemetry, }, want: &envoy_filter_network_http_connection_manager_v3.HttpConnectionManager_Tracing{ OverallSampling: &envoy_type_v3.Percent{ @@ -153,7 +150,7 @@ func TestTracingConfig(t *testing.T) { SpawnUpstreamSpan: wrapperspb.Bool(true), }, }, - "opentelemtry no SNI set": { + "no SNI set": { tracing: &EnvoyTracingConfig{ ExtensionService: k8s.NamespacedNameFrom("projectcontour/otel-collector"), ServiceName: "contour", @@ -162,7 +159,6 @@ func TestTracingConfig(t *testing.T) { OverallSampling: 100, MaxPathTagLength: 256, CustomTags: nil, - System: contour_v1alpha1.TracingSystemOpenTelemetry, }, want: &envoy_filter_network_http_connection_manager_v3.HttpConnectionManager_Tracing{ OverallSampling: &envoy_type_v3.Percent{ @@ -190,76 +186,6 @@ func TestTracingConfig(t *testing.T) { SpawnUpstreamSpan: wrapperspb.Bool(true), }, }, - "zipkin normal config": { - tracing: &EnvoyTracingConfig{ - ExtensionService: k8s.NamespacedNameFrom("projectcontour/otel-collector"), - ServiceName: "contour", - SNI: "some-server.com", - Timeout: timeout.DurationSetting(5 * time.Second), - OverallSampling: 100, - MaxPathTagLength: 256, - CustomTags: []*CustomTag{ - { - TagName: "literal", - Literal: "this is literal", - }, - { - TagName: "podName", - EnvironmentName: "HOSTNAME", - }, - { - TagName: "requestHeaderName", - RequestHeaderName: ":path", - }, - }, - System: contour_v1alpha1.TracingSystemZipkin, - }, - want: &envoy_filter_network_http_connection_manager_v3.HttpConnectionManager_Tracing{ - OverallSampling: &envoy_type_v3.Percent{ - Value: 100.0, - }, - MaxPathTagLength: wrapperspb.UInt32(256), - CustomTags: []*envoy_trace_v3.CustomTag{ - { - Tag: "literal", - Type: &envoy_trace_v3.CustomTag_Literal_{ - Literal: &envoy_trace_v3.CustomTag_Literal{ - Value: "this is literal", - }, - }, - }, - { - Tag: "podName", - Type: &envoy_trace_v3.CustomTag_Environment_{ - Environment: &envoy_trace_v3.CustomTag_Environment{ - Name: "HOSTNAME", - }, - }, - }, - { - Tag: "requestHeaderName", - Type: &envoy_trace_v3.CustomTag_RequestHeader{ - RequestHeader: &envoy_trace_v3.CustomTag_Header{ - Name: ":path", - }, - }, - }, - }, - Provider: &envoy_config_trace_v3.Tracing_Http{ - Name: "envoy.tracers.zipkin", - ConfigType: &envoy_config_trace_v3.Tracing_Http_TypedConfig{ - TypedConfig: protobuf.MustMarshalAny(&envoy_config_trace_v3.ZipkinConfig{ - CollectorCluster: "extension/projectcontour/otel-collector", - CollectorHostname: "extension.projectcontour.otel-collector", - CollectorEndpoint: "/api/v2/spans", - SharedSpanContext: wrapperspb.Bool(false), - CollectorEndpointVersion: envoy_config_trace_v3.ZipkinConfig_HTTP_JSON, - }), - }, - }, - SpawnUpstreamSpan: wrapperspb.Bool(true), - }, - }, } for name, tc := range tests { t.Run(name, func(t *testing.T) { diff --git a/internal/xdscache/v3/listener.go b/internal/xdscache/v3/listener.go index 1ed28028beb..a070db27fe0 100644 --- a/internal/xdscache/v3/listener.go +++ b/internal/xdscache/v3/listener.go @@ -169,8 +169,6 @@ type TracingConfig struct { MaxPathTagLength uint32 CustomTags []*CustomTag - - System contour_v1alpha1.TracingSystem } type CustomTag struct { @@ -665,7 +663,6 @@ func envoyTracingConfig(config *TracingConfig) *envoy_v3.EnvoyTracingConfig { OverallSampling: config.OverallSampling, MaxPathTagLength: config.MaxPathTagLength, CustomTags: envoyTracingConfigCustomTag(config.CustomTags), - System: config.System, } } diff --git a/pkg/config/parameters.go b/pkg/config/parameters.go index 5c0d54765c6..f7abf931571 100644 --- a/pkg/config/parameters.go +++ b/pkg/config/parameters.go @@ -155,24 +155,10 @@ func (h HTTPVersionType) Validate() error { } const ( - HTTPVersion1 HTTPVersionType = "http/1.1" - HTTPVersion2 HTTPVersionType = "http/2" - TracingSystemOpenTelemetry TracingSystem = "opentelemetry" - TracingSystemZipkin TracingSystem = "zipkin" + HTTPVersion1 HTTPVersionType = "http/1.1" + HTTPVersion2 HTTPVersionType = "http/2" ) -// TracingSystem is the tracing system used in Envoy -type TracingSystem string - -func (h TracingSystem) Validate() error { - switch h { - case TracingSystemOpenTelemetry, TracingSystemZipkin: - return nil - default: - return fmt.Errorf("invalid tracing system %q", h) - } -} - // NamespacedName defines the namespace/name of the Kubernetes resource referred from the configuration file. // Used for Contour configuration YAML file parsing, otherwise we could use K8s types.NamespacedName. type NamespacedName struct { @@ -719,7 +705,7 @@ type Parameters struct { // MetricsParameters holds configurable parameters for Contour and Envoy metrics. Metrics MetricsParameters `yaml:"metrics,omitempty"` - // Tracing holds the relevant configuration for exporting trace data to the tracing system. + // Tracing holds the relevant configuration for exporting trace data to OpenTelemetry. Tracing *Tracing `yaml:"tracing,omitempty"` // FeatureFlags defines toggle to enable new contour features. @@ -730,7 +716,7 @@ type Parameters struct { FeatureFlags []string `yaml:"featureFlags,omitempty"` } -// Tracing defines properties for exporting trace data to the tracing system. +// Tracing defines properties for exporting trace data to OpenTelemetry. type Tracing struct { // IncludePodDetail defines a flag. // If it is true, contour will add the pod name and namespace to the span of the trace. @@ -757,10 +743,6 @@ type Tracing struct { // ExtensionService identifies the extension service defining the otel-collector, // formatted as /. ExtensionService string `yaml:"extensionService"` - - // System Specifies the tracing system to use. Supported systems are - // "zipkin" and "opentelemetry". - System *TracingSystem `yaml:"system"` } // CustomTag defines custom tags with unique tag name diff --git a/site/content/docs/main/config/api-reference.html b/site/content/docs/main/config/api-reference.html index be93300d4e3..177e9c5579e 100644 --- a/site/content/docs/main/config/api-reference.html +++ b/site/content/docs/main/config/api-reference.html @@ -5426,7 +5426,7 @@

ContourConfiguration -

Tracing defines properties for exporting trace data to the tracing system.

+

Tracing defines properties for exporting trace data to the OpenTelemetry.

@@ -6319,7 +6319,7 @@

ContourConfiguratio -

Tracing defines properties for exporting trace data to the tracing system.

+

Tracing defines properties for exporting trace data to the OpenTelemetry.

@@ -9201,7 +9201,7 @@

TracingConfig ContourConfigurationSpec)

-

TracingConfig defines properties for exporting trace data to the tracing system.

+

TracingConfig defines properties for exporting trace data to OpenTelemetry.

@@ -9298,47 +9298,8 @@

TracingConfig

ExtensionService identifies the extension service defining the otel-collector.

-

- - -
-system -
- - -TracingSystem - - -
-(Optional) -

System specifies the tracing system used in Evnoy. -Supported systems are “opentelemetry” and “zipkin”. -Defaults to “opentelemetry”.

-
-

TracingSystem -(string alias)

-

-(Appears on: -TracingConfig) -

-

-

TracingSystem is the tracing system used in Envoy

-

- - - - - - - - - - - - -
ValueDescription

"opentelemetry"

"zipkin"

WorkloadType (string alias)