Skip to content

Commit

Permalink
update template config
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Sep 1, 2022
1 parent db0c800 commit 806c7e9
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions otel-collector/config.yaml
@@ -1,28 +1,34 @@
# This is a template configuration for OpenTelemetry collector.
# 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.

exporters:
# Add your exporter(s) configuration here.
# Refer to <link to otel config docs> for information on how to achieve different 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

service:
extensions:
- health_check
- zpages
pipelines:
traces:
receivers:
- otlp
exporters:
# Add the name of your exporter(s) here, e.g.:
# - logging
receivers:
- otlp # Do not remove this receiver
extensions:
# Do not remove these extensions
- health_check
- zpages

extensions:
health_check:
port: 13133
zpages:
endpoint: "localhost:55679"
receivers:
otlp:
protocols:
grpc: # port 4317
http: # port 4318

extensions:
health_check:
port: 13133
zpages:
endpoint: "localhost:55679"

0 comments on commit 806c7e9

Please sign in to comment.