Skip to content

Commit

Permalink
update collector example with debug exporter
Browse files Browse the repository at this point in the history
The logging exporter was renamed debug in 2023, the logging exporter will be removed in the near future, updating the example accordingly.
  • Loading branch information
codeboten authored Sep 4, 2024
1 parent 18f0d7f commit cdee04c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ exporters:
tls:
insecure: true

logging:
loglevel: debug
debug:
verbosity: debug
sampling_initial: 1
sampling_thereafter: 1
extensions:
Expand All @@ -31,12 +31,12 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging, zipkin, otlp/jaeger]
exporters: [debug, zipkin, otlp/jaeger]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging]
exporters: [debug]
logs:
receivers: [otlp]
processors: [batch]
exporters: [logging]
exporters: [debug]

0 comments on commit cdee04c

Please sign in to comment.