Skip to content

Commit 7c6351e

Browse files
authored
fix: update references to logging exporter (open-telemetry#1528)
This exporter has been replaced by the debug exporter and will be removed soon. Related to open-telemetry/opentelemetry-collector#11037 Signed-off-by: Alex Boten <[email protected]>
1 parent bf4a407 commit 7c6351e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

collector/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ receivers:
8383
grpc:
8484

8585
exporters:
86-
logging:
87-
loglevel: debug
86+
debug:
87+
verbosity: detailed
8888
otlp:
8989
endpoint: { backend endpoint }
9090

9191
service:
9292
pipelines:
9393
traces:
9494
receivers: [otlp]
95-
exporters: [logging, otlp]
95+
exporters: [debug, otlp]
9696
```
9797
9898
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:

collector/config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ receivers:
77
endpoint: "localhost:4318"
88

99
exporters:
10-
logging:
11-
loglevel: debug
10+
debug:
11+
verbosity: detailed
1212

1313
service:
1414
pipelines:
1515
traces:
1616
receivers: [otlp]
17-
exporters: [logging]
17+
exporters: [debug]
1818
metrics:
1919
receivers: [otlp]
20-
exporters: [logging]
20+
exporters: [debug]
2121
telemetry:
2222
metrics:
2323
address: localhost:8888

0 commit comments

Comments
 (0)