Skip to content

Commit

Permalink
fix: update references to logging exporter (#1731)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
codeboten and mwear authored Oct 1, 2024
1 parent 3c356fc commit b0ecc1c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions examples/metrics_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ receivers:
# Default endpoints: 0.0.0.0:4317 for gRPC and 0.0.0.0:4318 for HTTP

exporters:
logging:
loglevel: debug
debug:
verbosity: detailed

processors:
batch:
Expand All @@ -47,11 +47,11 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging]
exporters: [debug]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging]
exporters: [debug]
```
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/).
Expand Down
2 changes: 1 addition & 1 deletion examples/otel-collector/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OTELCOL_IMG=otel/opentelemetry-collector-contrib:0.35.0
OTELCOL_IMG=otel/opentelemetry-collector-contrib:0.109.0
OTELCOL_ARGS=
14 changes: 8 additions & 6 deletions examples/otel-collector/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318

exporters:
logging:
debug:

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

jaeger:
endpoint: jaeger-all-in-one:14250
insecure: true
otlp:
endpoint: jaeger-all-in-one:4317
tls:
insecure: true

processors:
batch:
Expand All @@ -23,8 +25,8 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging, zipkin, jaeger]
exporters: [debug, zipkin, otlp]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging]
exporters: [debug]

0 comments on commit b0ecc1c

Please sign in to comment.