Skip to content

Commit

Permalink
update collector configuration to use debug exporter (open-telemetry#…
Browse files Browse the repository at this point in the history
…1148)

* update collector configuration to use debug exporter

This replaces references to the logging exporter with
the debug exporter.

Signed-off-by: Alex Boten <aboten@lightstep.com>

* revert changes to kubernetes/opentelemetry-demo.yaml

Signed-off-by: Alex Boten <aboten@lightstep.com>

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
Co-authored-by: Pierre Tessier <pierre@pierretessier.com>
  • Loading branch information
2 people authored and Dylan Myers committed Oct 25, 2023
1 parent 7410f97 commit 8e1023f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@
"renameByName": {
"Time": "",
"percent": "Percent",
"{exporter=\"logging\", instance=\"otelcol:8888\", job=\"otel-collector\", service_instance_id=\"fbfa720a-ebf9-45c8-a79a-9d3b6021a663\", service_name=\"otelcol-contrib\", service_version=\"0.70.0\"}": ""
"{exporter=\"debug\", instance=\"otelcol:8888\", job=\"otel-collector\", service_instance_id=\"fbfa720a-ebf9-45c8-a79a-9d3b6021a663\", service_name=\"otelcol-contrib\", service_version=\"0.70.0\"}": ""
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/otelcollector/otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ receivers:
- endpoint: http://frontendproxy:${env:ENVOY_PORT}

exporters:
logging:
debug:

processors:
batch:
Expand Down Expand Up @@ -44,12 +44,12 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging, spanmetrics]
exporters: [debug, spanmetrics]
metrics:
receivers: [httpcheck/frontendproxy, otlp, spanmetrics]
processors: [filter/ottl, transform, batch]
exporters: [logging]
exporters: [debug]
logs:
receivers: [otlp]
processors: [batch]
exporters: [logging]
exporters: [debug]
6 changes: 3 additions & 3 deletions src/otelcollector/otelcol-observability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ exporters:
service:
pipelines:
traces:
exporters: [otlp, logging, spanmetrics]
exporters: [otlp, debug, spanmetrics]
metrics:
exporters: [otlphttp/prometheus, logging]
exporters: [otlphttp/prometheus, debug]
logs:
exporters: [otlp/logs, logging]
exporters: [otlp/logs, debug]

0 comments on commit 8e1023f

Please sign in to comment.