From 3356df1dc9a25f4b43f8e33ad1a4e034675cf668 Mon Sep 17 00:00:00 2001 From: Steve Flanders Date: Thu, 1 Apr 2021 17:17:03 -0400 Subject: [PATCH] Remove opencensus receiver --- .../config/collector/agent_config.yaml | 1 - .../config/collector/full_config_linux.yaml | 6 ---- .../config/collector/gateway_config.yaml | 1 - .../config/collector/otlp_config_linux.yaml | 1 - docs/components.md | 31 +++++++++---------- .../splunk-otel-collector-agent.yaml | 1 - .../splunk-otel-collector-gateway.yaml | 1 - internal/components/components.go | 2 -- internal/components/components_test.go | 1 - 9 files changed, 15 insertions(+), 30 deletions(-) diff --git a/cmd/otelcol/config/collector/agent_config.yaml b/cmd/otelcol/config/collector/agent_config.yaml index 544ca15a50..0d9aa68e4e 100644 --- a/cmd/otelcol/config/collector/agent_config.yaml +++ b/cmd/otelcol/config/collector/agent_config.yaml @@ -47,7 +47,6 @@ receivers: thrift_binary: thrift_compact: thrift_http: - opencensus: otlp: protocols: grpc: diff --git a/cmd/otelcol/config/collector/full_config_linux.yaml b/cmd/otelcol/config/collector/full_config_linux.yaml index bddc59dbcf..a9839bc5cd 100644 --- a/cmd/otelcol/config/collector/full_config_linux.yaml +++ b/cmd/otelcol/config/collector/full_config_linux.yaml @@ -31,12 +31,6 @@ receivers: # Traces + Metrics ############################################################################# - # Enables the opencensus receiver with default settings - # - grpc (default endpoint = 0.0.0.0:55678) - # - http (default endpoint = 0.0.0.0:55678) - # Full configuration here: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver/opencensusreceiver - opencensus: - # Enables the otlp receiver with default settings # - grpc (default endpoint = 0.0.0.0:4317) # - http (default endpoint = 0.0.0.0:55681) diff --git a/cmd/otelcol/config/collector/gateway_config.yaml b/cmd/otelcol/config/collector/gateway_config.yaml index 080905d493..e96003f50b 100644 --- a/cmd/otelcol/config/collector/gateway_config.yaml +++ b/cmd/otelcol/config/collector/gateway_config.yaml @@ -8,7 +8,6 @@ receivers: thrift_binary: thrift_compact: thrift_http: - opencensus: otlp: protocols: grpc: diff --git a/cmd/otelcol/config/collector/otlp_config_linux.yaml b/cmd/otelcol/config/collector/otlp_config_linux.yaml index 4e5445a352..543d2cb3ab 100644 --- a/cmd/otelcol/config/collector/otlp_config_linux.yaml +++ b/cmd/otelcol/config/collector/otlp_config_linux.yaml @@ -8,7 +8,6 @@ receivers: thrift_binary: thrift_compact: thrift_http: - opencensus: otlp: protocols: grpc: diff --git a/docs/components.md b/docs/components.md index a8e355e668..ed23e8f96e 100644 --- a/docs/components.md +++ b/docs/components.md @@ -8,22 +8,21 @@ These components are considered stable. While in beta, breaking changes may be introduced in a new release. In addition, any of these components may be removed prior to the 1.0 release. -| Receivers | Processors | Exporters | Extensions | -| :--------------: | :--------: | :-------: | :--------: | -| fluentforward | attributes | file | healthcheck | -| hostmetrics | batch | logging | httpforwarder | -| jaeger | filter | otlp | host_observer | -| k8s_cluster | k8s_tagger | sapm | k8s_observer | -| kubeletstats | memorylimiter | signalfx | pprof | -| opencensus | metrictransform | splunk_hec | zpages | -| otlp | resource | | | -| receiver_creator | resourcedetection | | | -| sapm | span | | | -| signalfx | | | | -| simpleprometheus | | | | -| smartagent | | | | -| splunk_hec | | | | -| zipkin | | | | +| Receivers | Processors | Exporters | Extensions | +| :--------------: | :--------: | :-------: | :--------: | +| fluentforward | attributes | file | healthcheck | +| hostmetrics | batch | logging | httpforwarder | +| jaeger | filter | otlp | host_observer | +| k8s_cluster | k8s_tagger | sapm | k8s_observer | +| kubeletstats | memorylimiter | signalfx | pprof | +| otlp | metrictransform | splunk_hec | zpages | +| receiver_creator | resource | | | +| sapm | resourcedetection | | | +| signalfx | span | | | +| simpleprometheus | | | | +| smartagent | | | | +| splunk_hec | | | | +| zipkin | | | | ## Alpha diff --git a/examples/kubernetes-yaml/splunk-otel-collector-agent.yaml b/examples/kubernetes-yaml/splunk-otel-collector-agent.yaml index 7f19592f83..95ba45a8a3 100644 --- a/examples/kubernetes-yaml/splunk-otel-collector-agent.yaml +++ b/examples/kubernetes-yaml/splunk-otel-collector-agent.yaml @@ -38,7 +38,6 @@ data: thrift_binary: thrift_compact: thrift_http: - opencensus: otlp: protocols: grpc: diff --git a/examples/kubernetes-yaml/splunk-otel-collector-gateway.yaml b/examples/kubernetes-yaml/splunk-otel-collector-gateway.yaml index d503563548..1de7cdf6af 100644 --- a/examples/kubernetes-yaml/splunk-otel-collector-gateway.yaml +++ b/examples/kubernetes-yaml/splunk-otel-collector-gateway.yaml @@ -38,7 +38,6 @@ data: thrift_binary: thrift_compact: thrift_http: - opencensus: otlp: protocols: grpc: diff --git a/internal/components/components.go b/internal/components/components.go index 2882c8fb8f..991ddfdb0f 100644 --- a/internal/components/components.go +++ b/internal/components/components.go @@ -55,7 +55,6 @@ import ( "go.opentelemetry.io/collector/receiver/hostmetricsreceiver" "go.opentelemetry.io/collector/receiver/jaegerreceiver" "go.opentelemetry.io/collector/receiver/kafkareceiver" - "go.opentelemetry.io/collector/receiver/opencensusreceiver" "go.opentelemetry.io/collector/receiver/otlpreceiver" "go.opentelemetry.io/collector/receiver/prometheusreceiver" "go.opentelemetry.io/collector/receiver/zipkinreceiver" @@ -88,7 +87,6 @@ func Get() (component.Factories, error) { k8sclusterreceiver.NewFactory(), kafkareceiver.NewFactory(), kubeletstatsreceiver.NewFactory(), - opencensusreceiver.NewFactory(), otlpreceiver.NewFactory(), prometheusexecreceiver.NewFactory(), prometheusreceiver.NewFactory(), diff --git a/internal/components/components_test.go b/internal/components/components_test.go index 1be2992c22..041c3bca70 100644 --- a/internal/components/components_test.go +++ b/internal/components/components_test.go @@ -42,7 +42,6 @@ func TestDefaultComponents(t *testing.T) { "k8s_cluster", "kafka", "kubeletstats", - "opencensus", "otlp", "prometheus", "prometheus_exec",