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
This commit is contained in:
William Bezuidenhout authored and GitHub committed 2022-11-24 17:35:34 +00:00
1 parent 09b567f2e5
commit d50c7e743d
1 file changed
+12 -13
+12 -13
View File
@@ -1,12 +1,24 @@
# This is the template configuration for OpenTelemetry collector, and is not used by default.
# It is mounted to '/etc/otel-collector/config.yaml' in the otel-collector container.
receivers:
otlp:
protocols:
grpc: # port 4317
http: # port 4318
exporters:
# Add your exporter(s) configuration here. For each exporter, make sure it is enabled
# in the service configuration below.
# Refer to our OpenTelemetry docs for information on how to configure different exporters:
# https://docs.sourcegraph.com/admin/observability/opentelemetry
extensions:
health_check:
endpoint: ":13133"
zpages:
endpoint: "localhost:55679"
service:
pipelines:
traces:
@@ -19,16 +31,3 @@ service:
# Do not remove these extensions
- health_check
- zpages
receivers:
otlp:
protocols:
grpc: # port 4317
http: # port 4318
extensions:
health_check:
port: 13133
zpages:
endpoint: "localhost:55679"