Skip to content

Commit 9b719df

Browse files
committed
Disable net/x/trace usage in gRPC
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
1 parent 620847d commit 9b719df

File tree

6 files changed

+31
-0
lines changed

6 files changed

+31
-0
lines changed

.chloggen/grpcnotrace.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: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: all
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Removes usages of golang.org/x/net/trace which uses html/template and text/template in gRPC. These usages disable golang DCE.
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [1018]
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: [user]
26+

distributions/otelcol-contrib/manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist:
44
description: OpenTelemetry Collector Contrib
55
version: 0.130.0
66
output_path: ./_build
7+
build_tags: "grpcnotrace"
78

89
extensions:
910
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.130.0

distributions/otelcol-ebpf-profiler/manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist:
44
description: OpenTelemetry Collector for eBPF Profiling
55
version: 0.130.0
66
output_path: ./_build
7+
build_tags: "grpcnotrace"
78

89
exporters:
910
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.130.0

distributions/otelcol-k8s/manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist:
44
description: OpenTelemetry Collector for Kubernetes
55
version: 0.130.0
66
output_path: ./_build
7+
build_tags: "grpcnotrace"
78

89
extensions:
910
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.130.0

distributions/otelcol-otlp/manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist:
44
description: OpenTelemetry Collector OTLP
55
version: 0.130.0
66
output_path: ./_build
7+
build_tags: "grpcnotrace"
78

89
exporters:
910
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.130.0

distributions/otelcol/manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist:
44
description: OpenTelemetry Collector
55
version: 0.130.0
66
output_path: ./_build
7+
build_tags: "grpcnotrace"
78

89
receivers:
910
- gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.130.0

0 commit comments

Comments
 (0)