You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/runtime/tracing-in-runtime.md
+71-4Lines changed: 71 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,12 +159,79 @@ To use the OpenTelemetry Collector with Datadog, follow these steps:
159
159
2. Install the `otelcol_contrib` package instead of `otelcol` to include Datadog support.
160
160
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.
161
161
162
-
## Include Metrics and Logs in OpenTelemetry
162
+
## Sending Traces from Mendix on Kubernetes
163
+
164
+
Mendix on Kubernetes can send OpenTelemetry traces to a standards-compliant OpenTelemetry collector.
165
+
166
+
Some cloud providers provide OpenTelemetry instrumentation agents and will not work with the Mendix Runtime. For example, [Azure Application Insights](https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable) is incompatible with the standard OpenTelemetry instrumentation agent bundled with the Mendix Runtime.
167
+
168
+
### Installing Jaeger from a Helm chart
169
+
170
+
To get an OpenTelemetry collector installed into a Kubernetes cluster, contact your cluster admin.
171
+
172
+
For quick experiments or non-production use cases, Jaeger can be installed using the [official Helm chart](https://github.com/jaegertracing/helm-charts/tree/jaeger-4.7.0/charts/jaeger).
173
+
174
+
{{% alert color="warning" %}}
175
+
The default Jaeger configuration is not production-grade, because it does not have any authentication and stores all traces in memory. To get a production-grade OpenTelemetry collector installed into a Kubernetes cluster, contact your cluster admin.
176
+
{{% /alert %}}
177
+
178
+
#### Kubernetes Cluster
179
+
180
+
To install Jaeger into a Kubernetes cluster (except OpenShift), run the following commands in a Bash prompt:
To send traces to this OpenTelemetry Collector, use the following hostname format (where `${HELM_RELEASE}` is the value of `HELM_RELEASE` used during installation, and `${NAMESPACE}` is the namespace where the Jaeger Helm chart was installed):
213
+
214
+
```
215
+
${HELM_RELEASE}.${NAMESPACE}.svc.cluster.local
216
+
```
217
+
218
+
For example, `mx-jaeger.example-namespace.svc.cluster.local`.
219
+
220
+
### OpenTelemetry Collector
221
+
222
+
To send logs and traces from a Mendix on Kubernetes environment to an OpenTelemetry collector, set the _Custom JVM Options_ to the following:
Replace `${APP_NAME}` with a meaninful identifier for your environment (service), and `${OTEL_HOST}` with the hostname of the OpenTelemetry Collector.
229
+
230
+
Depending on how the OpenTelemetry Collector is configured, the values of `-Dotel.exporter.otlp.traces.endpoint` and `-Dotel.exporter.otlp.traces.protocol` might need to be modified.
231
+
232
+
## Include Metrics and Logs in OpenTelemetry
165
233
166
-
* See the [OpenTelemetry](/refguide/metrics/#opentelemetry) section of *Metrics* for a guide on how to setup metrics with OpenTelemetry.
167
-
* See [Request to Create New Log Subscriber in Open Telemetry Format](/refguide/monitoring-mendix-runtime/#new-log-sub-opentelemetry) in *Monitoring Mendix Runtime* for a guide on how to setup logs with OpenTelemetry.
234
+
You can also use OpenTelemetry to collect logs and metrics data (CPU load, memory, and others). For more information about setting up metrics with OpenTelemetry, see the [OpenTelemetry](/refguide/metrics/#opentelemetry) section of *Metrics*. For a guide on how to set up logs with OpenTelemetry, see [Request to Create New Log Subscriber in Open Telemetry Format](/refguide/monitoring-mendix-runtime/#new-log-sub-opentelemetry) in *Monitoring Mendix Runtime*.
0 commit comments