Skip to content

Commit 65dfbf0

Browse files
committed
readmefix
1 parent a444730 commit 65dfbf0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/self-diagnostics/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ which the logs are simply discarded.
99
## Filtering logs from external dependencies of OTLP Exporter:
1010

1111
The example configures a tracing `filter` to restrict logs from external crates
12-
(`hyper`, `tonic`, and `reqwest`) used by the OTLP Exporter to the `error`
12+
(`hyper`, `tonic`, and `reqwest` etc.) used by the OTLP Exporter to the `error`
1313
level. This helps prevent an infinite loop of log generation when these crates
1414
emit logs that are picked up by the tracing subscriber. This is only a
15-
workaround until https://github.com/open-telemetry/opentelemetry-rust/issues/761
16-
is resolved.
15+
workaround until [the root
16+
issue](https://github.com/open-telemetry/opentelemetry-rust/issues/761) is
17+
resolved.
1718

1819
## Filtering logs to be send to OpenTelemetry itself
1920

@@ -23,4 +24,5 @@ to OpenTelemetry, then enabling OpenTelemetry internal logs can also cause
2324
infinite, recursive logging. You can filter out all OpenTelemetry internal logs
2425
from being sent to [OpenTelemetry Tracing
2526
Appender](../../opentelemetry-appender-tracing/README.md) using a filter, like
26-
"add_directive("opentelemetry=off".parse().unwrap())".
27+
"add_directive("opentelemetry=off".parse().unwrap())" being done for tracing's
28+
`FmtSubscriber`.

0 commit comments

Comments
 (0)