Skip to content

Commit fbf721e

Browse files
author
Peter Törnstrand
committed
Update readme with instructions on how to use opentelementry_logs module.
1 parent a0f2b3d commit fbf721e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.env.seq

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
OTEL_PHP_AUTOLOAD_ENABLED=true
22
OTEL_SERVICE_NAME=Drupal
33
OTEL_TRACES_EXPORTER=otlp
4+
OTEL_LOGS_EXPORTER=otlp
45
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
56
OTEL_EXPORTER_OTLP_ENDPOINT=http://seq/ingest/otlp
67
OTEL_PROPAGATORS=baggage,tracecontext

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ and add the **Endpoint** `http://seq/ingest/otlp`.
2626
That's it. Open `http://seq.<DDEV_NAME>.ddev.site:8501/` to start exploring
2727
your logs and traces.
2828

29+
### Use OpenTelementry Logs module
30+
31+
If you want to use the log module bundled with the OpenTelemetry module you
32+
need to apply the patch from [the following issue](https://www.drupal.org/project/opentelemetry/issues/3505594)
33+
to get the log message body into Seq.
34+
2935
## Tracing
3036

3137
The following example of how to do your own tracing in your custom code is

0 commit comments

Comments
 (0)