Skip to content

Commit b3051c2

Browse files
committed
Add OpenTelemetry log subscriber request example and update links in tracing documentation
1 parent df69886 commit b3051c2

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

content/en/docs/refguide/runtime/monitoring-mendix-runtime.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,3 +649,27 @@ This configuration will produce logs similar to these:
649649
This will write logs to standard output in simple text format.
650650

651651
[//]: # (<!-- markdownlint-enable no-duplicate-heading -->)
652+
653+
### Request to Create New Log Subscriber in Open Telemetry Format
654+
655+
```json
656+
{
657+
"action": "create_log_subscriber",
658+
"params": {
659+
"type": "opentelemetry",
660+
"name": "OpenTelemetrySubscriber",
661+
"autosubscribe": "INFO"
662+
}
663+
}
664+
```
665+
666+
### Example Response
667+
668+
```json
669+
{
670+
"feedback": {},
671+
"result": 0
672+
}
673+
```
674+
675+
This will send logs to the registered OpenTelemetry collector. See [Tracing](/refguide/tracing-in-runtime/) for a guide on how to enable OpenTelemetry.

content/en/docs/refguide/runtime/tracing-in-runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ To use the OpenTelemetry Collector with Datadog, follow these steps:
150150

151151
You can also collect metrics data (CPU load, memory, etc.) and logs with OpenTelemetry.
152152

153-
* Please see [Metrics](https://docs.mendix.com/refguide/metrics/#opentelemetry) for a guide on how to setup Metrics with OpenTelemetry.
154-
* Please see [Monitoring Mendix Runtime](https://docs.mendix.com/refguide/monitoring-mendix-runtime/#request-to-create-new-log-subscriber-in-otel-format) for a guide on how to setup Logs with OpenTelemetry.
153+
* Please see [Metrics](/refguide/metrics/#opentelemetry) for a guide on how to setup Metrics with OpenTelemetry.
154+
* Please see [Monitoring Mendix Runtime](/refguide/monitoring-mendix-runtime/#request-to-create-new-log-subscriber-in-open-telemetry-format) for a guide on how to setup Logs with OpenTelemetry.

0 commit comments

Comments
 (0)