From 5cc4276eb749e8a72d3a35baa53634e2f57c27c2 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:34:11 -0700 Subject: [PATCH] docs: update references to logging exporter This exporter has been replaced by the debug exporter and will be removed soon Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> --- exporters/prometheus/src/test/resources/otel-config.yaml | 4 ++-- .../otlp/src/main/resources/otel-config.yaml | 8 ++++---- .../src/test/resources/otel-collector-config-perf.yaml | 8 ++++---- sdk/trace/src/jmh/resources/otel.yaml | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/exporters/prometheus/src/test/resources/otel-config.yaml b/exporters/prometheus/src/test/resources/otel-config.yaml index 649f8ba6d12..c6cec85cd94 100644 --- a/exporters/prometheus/src/test/resources/otel-config.yaml +++ b/exporters/prometheus/src/test/resources/otel-config.yaml @@ -10,7 +10,7 @@ receivers: static_configs: - targets: ['${APP_ENDPOINT}'] exporters: - logging: + debug: verbosity: ${LOGGING_EXPORTER_VERBOSITY} otlp: endpoint: ${OTLP_EXPORTER_ENDPOINT} @@ -22,4 +22,4 @@ service: pipelines: metrics: receivers: [prometheus] - exporters: [logging, otlp] + exporters: [debug, otlp] diff --git a/integration-tests/otlp/src/main/resources/otel-config.yaml b/integration-tests/otlp/src/main/resources/otel-config.yaml index e554f766b8e..614cb5443bd 100644 --- a/integration-tests/otlp/src/main/resources/otel-config.yaml +++ b/integration-tests/otlp/src/main/resources/otel-config.yaml @@ -23,7 +23,7 @@ receivers: cert_file: ${MTLS_SERVER_CERTIFICATE} key_file: ${MTLS_SERVER_KEY} exporters: - logging: + debug: verbosity: ${LOGGING_EXPORTER_VERBOSITY_LEVEL} otlp: endpoint: ${OTLP_EXPORTER_ENDPOINT} @@ -35,10 +35,10 @@ service: pipelines: metrics: receivers: [otlp, otlp/mtls] - exporters: [logging, otlp] + exporters: [debug, otlp] traces: receivers: [otlp, otlp/mtls] - exporters: [logging, otlp] + exporters: [debug, otlp] logs: receivers: [otlp, otlp/mtls] - exporters: [logging, otlp] + exporters: [debug, otlp] diff --git a/perf-harness/src/test/resources/otel-collector-config-perf.yaml b/perf-harness/src/test/resources/otel-collector-config-perf.yaml index 0aa39a4d998..8df61145341 100644 --- a/perf-harness/src/test/resources/otel-collector-config-perf.yaml +++ b/perf-harness/src/test/resources/otel-collector-config-perf.yaml @@ -4,8 +4,8 @@ receivers: grpc: exporters: - logging: - loglevel: info + debug: + verbosity: normal sampling_initial: 1 sampling_thereafter: 1 @@ -25,8 +25,8 @@ service: traces: receivers: [otlp] processors: [batch] - exporters: [logging] + exporters: [debug] metrics: receivers: [otlp] processors: [batch] - exporters: [logging] + exporters: [debug] diff --git a/sdk/trace/src/jmh/resources/otel.yaml b/sdk/trace/src/jmh/resources/otel.yaml index edd847f0c02..b2fe534507f 100644 --- a/sdk/trace/src/jmh/resources/otel.yaml +++ b/sdk/trace/src/jmh/resources/otel.yaml @@ -11,7 +11,7 @@ extensions: health_check: exporters: - logging: + debug: service: extensions: [health_check] @@ -19,4 +19,4 @@ service: traces: receivers: [otlp] processors: [batch] - exporters: [logging] + exporters: [debug]