Skip to content

Commit df69886

Browse files
authored
Enhance tracing documentation with Grafana support
Updated the tracing documentation to include Grafana as an option alongside Jaeger, and provided Docker setup instructions for both tools. Added information on collecting metrics and logs with OpenTelemetry.
1 parent 3d65870 commit df69886

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,15 @@ You can filter out specific traces using the `mendix.tracing.filter` system prop
5050

5151
### Testing
5252

53-
You can test the tracing using [Jaeger](https://www.jaegertracing.io/). For example, you can use the all-in-one binary or Docker image. Jaeger will listen to endpoint `http://localhost:4318/v1/traces` by default.
53+
You can test the tracing using [Jaeger](https://www.jaegertracing.io/) or [Grafana](https://grafana.com).
54+
55+
For Jaeger, you can use the all-in-one binary or Docker image. Jaeger will listen to endpoint `http://localhost:4318/v1/traces` by default.
56+
57+
For Grafana, you can use the all-in-one Docker image `grafana/otel-lgtm`. After starting it with below command it will listen to the endpoint `http://localhost:4318/v1/traces`.
58+
59+
```
60+
docker run --name otel-grafana -d -p 3000:3000 -p 4317:4317 -p 4318:4318 grafana/otel-lgtm
61+
```
5462

5563
Alternatively, you can set up the [OpenTelemetry collector](https://opentelemetry.io/docs/collector/), which will also listen to the default endpoint and can be configured to send to backends which support OpenTelemetry. Check with your APM vendor to confirm that OpenTelemetry is supported. The free online collector configuration tool [OTelBin](https://github.com/dash0hq/otelbin) can help with collector configuration.
5664

@@ -137,3 +145,10 @@ To use the OpenTelemetry Collector with Datadog, follow these steps:
137145
1. Install the OpenTelemetry Collector by following the official [installation guide](https://opentelemetry.io/docs/collector/installation/).
138146
2. Install the `otelcol_contrib` package instead of `otelcol` to include Datadog support.
139147
3. Run the collector with the [appropriate configuration](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter/install/#2---configure-the-datadog-exporter-and-connector) adapted for Datadog.
148+
149+
## Include Metrics and Logs in OpenTelemetry
150+
151+
You can also collect metrics data (CPU load, memory, etc.) and logs with OpenTelemetry.
152+
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.

0 commit comments

Comments
 (0)