From 23fb65112926e56e3b37bdedc097da418e807c56 Mon Sep 17 00:00:00 2001 From: joegoldman2 <147369450+joegoldman2@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:17:16 +0000 Subject: [PATCH] [repo] Replace Logging Exporter with Debug Exporter in otel-collector configs (#5685) Co-authored-by: joegoldman2 <147369450+joegoldman@users.noreply.github.com> --- examples/AspNetCore/otel-collector.yaml | 10 +++++----- examples/Console/otlp-collector-example/config.yaml | 8 ++++---- .../IntegrationTest/otel-collector-config.yaml | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/AspNetCore/otel-collector.yaml b/examples/AspNetCore/otel-collector.yaml index bcf0cb5d6d2..15df605c542 100644 --- a/examples/AspNetCore/otel-collector.yaml +++ b/examples/AspNetCore/otel-collector.yaml @@ -5,8 +5,8 @@ receivers: http: exporters: - logging: - loglevel: debug + debug: + verbosity: detailed prometheus: endpoint: ":9201" send_timestamps: true @@ -21,10 +21,10 @@ service: pipelines: traces: receivers: [otlp] - exporters: [logging,otlp] + exporters: [debug, otlp] metrics: receivers: [otlp] - exporters: [logging,prometheus] + exporters: [debug, prometheus] logs: receivers: [otlp] - exporters: [logging] + exporters: [debug] diff --git a/examples/Console/otlp-collector-example/config.yaml b/examples/Console/otlp-collector-example/config.yaml index 932f24a193d..8d0584b61fa 100644 --- a/examples/Console/otlp-collector-example/config.yaml +++ b/examples/Console/otlp-collector-example/config.yaml @@ -11,17 +11,17 @@ receivers: http: exporters: - logging: + debug: verbosity: detailed service: pipelines: traces: receivers: [otlp] - exporters: [logging] + exporters: [debug] metrics: receivers: [otlp] - exporters: [logging] + exporters: [debug] logs: receivers: [otlp] - exporters: [logging] + exporters: [debug] diff --git a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/otel-collector-config.yaml b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/otel-collector-config.yaml index 477de40fe74..f479ebe4ad8 100644 --- a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/otel-collector-config.yaml +++ b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/otel-collector-config.yaml @@ -25,17 +25,17 @@ receivers: key_file: /cfg/otel-collector.key exporters: - logging: + debug: verbosity: detailed service: pipelines: traces: receivers: [otlp, otlp/tls] - exporters: [logging] + exporters: [debug] metrics: receivers: [otlp, otlp/tls] - exporters: [logging] + exporters: [debug] logs: receivers: [otlp, otlp/tls] - exporters: [logging] + exporters: [debug]