Skip to content

Commit 8e11cfc

Browse files
Remove opencensus exporter/receiver (#1056)
* [otelcol][otelcol-contrib] Remove opencensus exporter and receiver from otelcol and otelcol-contrib distributions * remove OpenCensus from ports and a mention in a README --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 99cc31b commit 8e11cfc

16 files changed

Lines changed: 90 additions & 25 deletions

.chloggen/remove_opencensus.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: otelcol
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove deprecated opencensus exporter and receiver
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [1056]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []
26+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: otelcol-contrib
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove deprecated opencensus exporter and receiver
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [1056]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []
26+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: otelcol-k8s
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove deprecated opencensus exporter and receiver
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [1056]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []
26+

distributions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Support for a distribution implies all the duties covered by the Approver and Maintainer role requirements. In addition, support means that the Collector SIG is the owner and maintainer of the binaries/images of the different Collector distributions and is responsible for the pipeline that produces those artifacts.
44

5-
The Collector SIG will support at least one distribution that is recommended for production which includes support for Prometheus, Jaeger, Zipkin, and OpenCensus.
5+
The Collector SIG will support at least one distribution that is recommended for production which includes support for Prometheus, Jaeger, and Zipkin.
66

77
Distributions supported by the Collector SIG should fulfill the following criteria:
88

distributions/otelcol-contrib/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ COPY --chmod=755 otelcol-contrib /otelcol-contrib
1212
COPY config.yaml /etc/otelcol-contrib/config.yaml
1313
ENTRYPOINT ["/otelcol-contrib"]
1414
CMD ["--config", "/etc/otelcol-contrib/config.yaml"]
15-
EXPOSE 4317 4318 55678 55679
15+
EXPOSE 4317 4318 55679

distributions/otelcol-contrib/Windows.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ COPY config.yaml ./config.yaml
77

88
ENTRYPOINT ["otelcol-contrib.exe"]
99
CMD ["--config", "config.yaml"]
10-
EXPOSE 4317 4318 55678 55679
10+
EXPOSE 4317 4318 55679

distributions/otelcol-contrib/config.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ receivers:
1616
http:
1717
endpoint: 0.0.0.0:4318
1818

19-
opencensus:
20-
endpoint: 0.0.0.0:55678
21-
2219
# Collect own metrics
2320
prometheus:
2421
config:
@@ -54,12 +51,12 @@ service:
5451
pipelines:
5552

5653
traces:
57-
receivers: [otlp, opencensus, jaeger, zipkin]
54+
receivers: [otlp, jaeger, zipkin]
5855
processors: [batch]
5956
exporters: [debug]
6057

6158
metrics:
62-
receivers: [otlp, opencensus, prometheus]
59+
receivers: [otlp, prometheus]
6360
processors: [batch]
6461
exporters: [debug]
6562

distributions/otelcol-contrib/manifest.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ exporters:
8080
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logicmonitorexporter v0.131.0
8181
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logzioexporter v0.131.0
8282
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/mezmoexporter v0.131.0
83-
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter v0.131.0
8483
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opensearchexporter v0.131.0
8584
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/otelarrowexporter v0.131.0
8685
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.131.0
@@ -189,7 +188,6 @@ receivers:
189188
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver v0.131.0
190189
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nsxtreceiver v0.131.0
191190
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/ntpreceiver v0.131.0
192-
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver v0.131.0
193191
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/oracledbreceiver v0.131.0
194192
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/otlpjsonfilereceiver v0.131.0
195193
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/otelarrowreceiver v0.131.0

distributions/otelcol-k8s/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certifica
1111
COPY --chmod=755 otelcol-k8s /otelcol-k8s
1212
ENTRYPOINT ["/otelcol-k8s"]
1313
# `4137` and `4318`: OTLP
14-
# `55678`: OpenCensus
1514
# `55679`: zpages
1615
# `6831`, `14268`, and `14250`: Jaeger
1716
# `9411`: Zipkin
18-
EXPOSE 4317 4318 55678 55679 6831 14268 14250 9411
17+
EXPOSE 4317 4318 55679 6831 14268 14250 9411

distributions/otelcol-k8s/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ The full list of components is available in the [manifest](manifest.yaml).
1515
- All components must be vendor-neutral.
1616
- Only exporters that use OTLP are allowed.
1717
- To facilitate troubleshooting, the nop, debug, and file exporters are exceptions.
18-
- All technologies OTel promised to support will be included as receivers. Specifically this means the `jaegerreceiver`, `zipkinreceiver`, `opencensusreceiver`, and `prometheusreceiver` will be included.
18+
- All technologies OTel promised to support will be included as receivers. Specifically this means the `jaegerreceiver`, `zipkinreceiver`, and `prometheusreceiver` will be included.

0 commit comments

Comments
 (0)