Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
|