Skip to content

Commit a2cf857

Browse files
committed
Proofread
1 parent d417940 commit a2cf857

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The Java Agent can be configured through system properties, which can be added t
5555

5656
## Enabling Tracing for Deployed Applications
5757

58-
To enable tracing in your deployed Mendix application, configure the following JVM parameters:
58+
To enable tracing for your deployed Mendix application, configure the following JVM parameters:
5959

6060
```
6161
-javaagent:mxinstallation/runtime/agents/opentelemetry-javaagent.jar
@@ -64,23 +64,24 @@ To enable tracing in your deployed Mendix application, configure the following J
6464
```
6565

6666
{{% alert color="info" %}}
67-
Replace MyServiceName with a meaningful identifier for your service.
67+
Replace `MyServiceName` with a meaningful identifier for your service.
6868
{{% /alert %}}
6969

70+
### OpenTelemetry Collector on Different Host
7071

71-
If the OpenTelemetry Collector is **not running on the same host** as your application, you must also specify the trace export endpoint:
72+
If the OpenTelemetry Collector is not running on the same host as your application, you must also specify the trace export endpoint:
7273

7374
```
7475
-Dotel.exporter.otlp.traces.endpoint=http://collector-host:port
7576
```
7677

7778
{{% alert color="info" %}}
78-
Replace collector-host and port with the host and port of your OpenTelemetry collector.
79+
Replace `collector-host` and `port` with the host and port of your OpenTelemetry collector.
7980
{{% /alert %}}
8081

8182
### Docker-Based Deployment
8283

83-
For Docker deployments, you can set the JVM parameters using the `JAVA_TOOL_OPTIONS` environment variable. Example:
84+
For Docker deployments, you can set the JVM parameters using the `JAVA_TOOL_OPTIONS` environment variable. For example:
8485

8586
```
8687
docker run MyMendixApp \
@@ -89,3 +90,7 @@ docker run MyMendixApp \
8990
-Dotel.service.name=MyServiceName \
9091
-Dotel.exporter.otlp.traces.endpoint=http://collector-host:port"
9192
```
93+
94+
{{% alert color="info" %}}
95+
Replace `MyServiceName` with a meaningful identifier for your service and `collector-host` and `port` with the host and port of your OpenTelemetry collector.
96+
{{% /alert %}}

0 commit comments

Comments
 (0)