Commit fbf721e Peter Törnstrand
committed
1 parent a0f2b3d commit fbf721e Copy full SHA for fbf721e
File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
OTEL_PHP_AUTOLOAD_ENABLED=true
2
2
OTEL_SERVICE_NAME=Drupal
3
3
OTEL_TRACES_EXPORTER=otlp
4
+ OTEL_LOGS_EXPORTER=otlp
4
5
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
5
6
OTEL_EXPORTER_OTLP_ENDPOINT=http://seq/ingest/otlp
6
7
OTEL_PROPAGATORS=baggage,tracecontext
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ and add the **Endpoint** `http://seq/ingest/otlp`.
26
26
That's it. Open ` http://seq.<DDEV_NAME>.ddev.site:8501/ ` to start exploring
27
27
your logs and traces.
28
28
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
+
29
35
## Tracing
30
36
31
37
The following example of how to do your own tracing in your custom code is
You can’t perform that action at this time.
0 commit comments