Skip to content

Commit b0ecc1c

Browse files
codebotenmwear
andauthored
fix: update references to logging exporter (#1731)
* fix: update references to logging exporter This exporter has been replaced by the debug exporter and will be removed soon Signed-off-by: Alex Boten <[email protected]> * update example to use v0.109.0 of the collector Signed-off-by: Alex Boten <[email protected]> --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Matthew Wear <[email protected]>
1 parent 3c356fc commit b0ecc1c

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

examples/metrics_sdk/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ receivers:
3636
# Default endpoints: 0.0.0.0:4317 for gRPC and 0.0.0.0:4318 for HTTP
3737

3838
exporters:
39-
logging:
40-
loglevel: debug
39+
debug:
40+
verbosity: detailed
4141

4242
processors:
4343
batch:
@@ -47,11 +47,11 @@ service:
4747
traces:
4848
receivers: [otlp]
4949
processors: [batch]
50-
exporters: [logging]
50+
exporters: [debug]
5151
metrics:
5252
receivers: [otlp]
5353
processors: [batch]
54-
exporters: [logging]
54+
exporters: [debug]
5555
```
5656
5757
More information on how to setup the OTel collector can be found in the in [quick start docs](https://opentelemetry.io/docs/collector/quick-start/).

examples/otel-collector/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
OTELCOL_IMG=otel/opentelemetry-collector-contrib:0.35.0
1+
OTELCOL_IMG=otel/opentelemetry-collector-contrib:0.109.0
22
OTELCOL_ARGS=

examples/otel-collector/otel-collector-config.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ receivers:
33
otlp:
44
protocols:
55
http:
6+
endpoint: 0.0.0.0:4318
67

78
exporters:
8-
logging:
9+
debug:
910

1011
zipkin:
1112
endpoint: "http://zipkin-all-in-one:9411/api/v2/spans"
1213
format: proto
1314

14-
jaeger:
15-
endpoint: jaeger-all-in-one:14250
16-
insecure: true
15+
otlp:
16+
endpoint: jaeger-all-in-one:4317
17+
tls:
18+
insecure: true
1719

1820
processors:
1921
batch:
@@ -23,8 +25,8 @@ service:
2325
traces:
2426
receivers: [otlp]
2527
processors: [batch]
26-
exporters: [logging, zipkin, jaeger]
28+
exporters: [debug, zipkin, otlp]
2729
metrics:
2830
receivers: [otlp]
2931
processors: [batch]
30-
exporters: [logging]
32+
exporters: [debug]

0 commit comments

Comments
 (0)