Skip to content

Commit d50c7e7

Browse files
authored
otel: update otel config for 0.65 (#879)
* align otel config to be inline with others update healthz extension config for otel 0.65 * use enpoint instead of port for otel health
1 parent 09b567f commit d50c7e7

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

otel-collector/config.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
# This is the template configuration for OpenTelemetry collector, and is not used by default.
22
# It is mounted to '/etc/otel-collector/config.yaml' in the otel-collector container.
33

4+
receivers:
5+
otlp:
6+
protocols:
7+
grpc: # port 4317
8+
http: # port 4318
9+
410
exporters:
511
# Add your exporter(s) configuration here. For each exporter, make sure it is enabled
612
# in the service configuration below.
713
# Refer to our OpenTelemetry docs for information on how to configure different exporters:
814
# https://docs.sourcegraph.com/admin/observability/opentelemetry
915

16+
extensions:
17+
health_check:
18+
endpoint: ":13133"
19+
zpages:
20+
endpoint: "localhost:55679"
21+
1022
service:
1123
pipelines:
1224
traces:
@@ -19,16 +31,3 @@ service:
1931
# Do not remove these extensions
2032
- health_check
2133
- zpages
22-
23-
receivers:
24-
otlp:
25-
protocols:
26-
grpc: # port 4317
27-
http: # port 4318
28-
29-
extensions:
30-
health_check:
31-
port: 13133
32-
zpages:
33-
endpoint: "localhost:55679"
34-

0 commit comments

Comments
 (0)