PingDS 8.0.0

Push to an OpenTelemetry service

DS can push traces to an OpenTelemetry Protocol (OTLP) endpoint over HTTP.

The interface stability for OpenTelemetry support is Evolving.

The plugin configuration, the content of spans, the span name, and the span attributes are all subject to change without prior notice.

Enable the OpenTelemetry Plugin, making sure it targets the endpoint for the service. You can opt to limit what the plugin pushes by adjusting additional settings.

The following example configures the plugin to push all traces to http://localhost:4318/v1/traces (default), sampling all the spans; adapt the configuration as necessary for production:

$ dsconfig \
 set-plugin-prop \
 --plugin-name OpenTelemetry \
 --set enabled:true \
 --set tracer-sampler:always-on \
 --hostname localhost \
 --port 4444 \
 --bindDN uid=admin \
 --bindPassword password \
 --usePkcs12TrustStore /path/to/opendj/config/keystore \
 --trustStorePassword:file /path/to/opendj/config/keystore.pin \
 --no-prompt

LDAP applications can use the W3C Trace Context Control to propagate trace context information.