From 366200443714240840d278e780091143a644de73 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:30:07 -0700 Subject: [PATCH 1/2] update collector example with debug exporter The logging exporter was renamed debug in 2023, the logging exporter will be removed in the near future, updating the example accordingly. --- config/otel-collector-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/otel-collector-config.yaml b/config/otel-collector-config.yaml index 26729c04..da55b252 100644 --- a/config/otel-collector-config.yaml +++ b/config/otel-collector-config.yaml @@ -19,8 +19,8 @@ exporters: tls: insecure: true - logging: - loglevel: debug + debug: + verbosity: debug sampling_initial: 1 sampling_thereafter: 1 extensions: @@ -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] From 3aab0a7c7495100bbaf71982738d6c67a2d729e3 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:12:47 -0700 Subject: [PATCH 2/2] Update config/otel-collector-config.yaml --- config/otel-collector-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/otel-collector-config.yaml b/config/otel-collector-config.yaml index da55b252..04fd8639 100644 --- a/config/otel-collector-config.yaml +++ b/config/otel-collector-config.yaml @@ -20,7 +20,7 @@ exporters: insecure: true debug: - verbosity: debug + verbosity: detailed sampling_initial: 1 sampling_thereafter: 1 extensions: