Opentelemetry
Overview
Add opentelemetry instrumentation support for Mendix
Use autoConfiguration through environment variables
https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure
Documentation
Description
Provide support for Opentelemetry
Typical usage scenario
Add Actions in microflow from the toolbox
Features and limitations
Implements :
- span,
- span hierarchy
- span events
- span exceptions
- span status
Dependencies
- otel-all.jar
- otlp server tls certificate for secured connections (downloaded from the https connection to the server)
Installation
Configuration
OpenTelemetry configuration is automatic through environments variables
https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure
Windows environment variables configuration for Mx studio :
set OTEL_TRACES_EXPORTER=otlp
set OTEL_EXPORTER_OTLP_ENDPOINT=https://otel-http.***.com:443
set OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
set OTEL_RESOURCE_ATTRIBUTES="service.name=MyApp"
set OTEL_EXPORTER_OTLP_CERTIFICATE="C:\Users\***\Mendix\_.apps.openshift.audemarspiguet.download.crt"
Known bugs
Frequently Asked Questions
- Q:
- A: