From dcd2ec1eccba897ff89dcc88ddb76f77d416ed54 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:23:35 -0700 Subject: [PATCH] fix: update references to logging exporter This exporter has been replaced by the debug exporter and will be removed soon. Related to https://github.com/open-telemetry/opentelemetry-collector/pull/11037 Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> --- collector/README.md | 6 +++--- collector/config.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/collector/README.md b/collector/README.md index c4499f3190..7d3b26fb9e 100644 --- a/collector/README.md +++ b/collector/README.md @@ -83,8 +83,8 @@ receivers: grpc: exporters: - logging: - loglevel: debug + debug: + verbosity: detailed otlp: endpoint: { backend endpoint } @@ -92,7 +92,7 @@ service: pipelines: traces: receivers: [otlp] - exporters: [logging, otlp] + exporters: [debug, otlp] ``` Once the file has been deployed with a Lambda, configuring the `OPENTELEMETRY_COLLECTOR_CONFIG_URI` will tell the OpenTelemetry extension where to find the collector configuration: diff --git a/collector/config.yaml b/collector/config.yaml index f4c8a85260..de306165c9 100644 --- a/collector/config.yaml +++ b/collector/config.yaml @@ -7,17 +7,17 @@ receivers: endpoint: "localhost:4318" exporters: - logging: - loglevel: debug + debug: + verbosity: detailed service: pipelines: traces: receivers: [otlp] - exporters: [logging] + exporters: [debug] metrics: receivers: [otlp] - exporters: [logging] + exporters: [debug] telemetry: metrics: address: localhost:8888