Skip to content

Commit

Permalink
add debug exporter and switch logging exporter
Browse files Browse the repository at this point in the history
Once the debug exporter is available, we'll want to switch
to using it instead of the deprecated logging exporter.

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Sep 15, 2023
1 parent 7503715 commit 729ad56
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions configs/otelcol-contrib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ processors:
batch:

exporters:
logging:
debug:
verbosity: detailed

service:
Expand All @@ -45,11 +45,11 @@ service:
traces:
receivers: [otlp, opencensus, jaeger, zipkin]
processors: [batch]
exporters: [logging]
exporters: [debug]

metrics:
receivers: [otlp, opencensus, prometheus]
processors: [batch]
exporters: [logging]
exporters: [debug]

extensions: [health_check, pprof, zpages]
6 changes: 3 additions & 3 deletions configs/otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ processors:
batch:

exporters:
logging:
debug:
verbosity: detailed

service:
Expand All @@ -45,11 +45,11 @@ service:
traces:
receivers: [otlp, opencensus, jaeger, zipkin]
processors: [batch]
exporters: [logging]
exporters: [debug]

metrics:
receivers: [otlp, opencensus, prometheus]
processors: [batch]
exporters: [logging]
exporters: [debug]

extensions: [health_check, pprof, zpages]
1 change: 1 addition & 0 deletions distributions/otelcol-contrib/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ extensions:
import: github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/dbstorage

exporters:
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.85.0
- gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.85.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.85.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.85.0
Expand Down
1 change: 1 addition & 0 deletions distributions/otelcol/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ receivers:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.85.0

exporters:
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.85.0
- gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.85.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.85.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.85.0
Expand Down

0 comments on commit 729ad56

Please sign in to comment.