Skip to content

Commit 779cce6

Browse files
committed
better comments
1 parent f6c51df commit 779cce6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/examples/multi-destination-exporting/README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Installation
3939
pip install opentelemetry-sdk
4040
pip install opentelemetry-exporter-otlp-proto-grpc
4141
pip install opentelemetry-exporter-otlp-proto-http
42+
pip install opentelemetry-instrumentation-logging # For LoggingHandler
4243
4344
Run the Example
4445
---------------
@@ -56,7 +57,7 @@ a running collector.
5657
Useful links
5758
------------
5859

59-
- `OTLP multi-destination exporting spec <https://opentelemetry.io/docs/specs/otlp/#multi-destination-exporting>`_
60+
- `OTLP multi-destination exporting specification <https://opentelemetry.io/docs/specs/otlp/#multi-destination-exporting>`_
6061
- OpenTelemetry_
6162
- :doc:`../../api/trace`
6263

docs/examples/multi-destination-exporting/multi_destination_logs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
from opentelemetry.exporter.otlp.proto.http._log_exporter import (
2828
OTLPLogExporter as HttpLogExporter,
2929
)
30+
31+
# this is available in the opentelemetry-instrumentation-logging package
3032
from opentelemetry.instrumentation.logging.handler import LoggingHandler
3133
from opentelemetry.sdk._logs import LoggerProvider
3234
from opentelemetry.sdk._logs.export import (

0 commit comments

Comments
 (0)