OpenTelemetry Plugin
The OpenTelemetry Plugin configures the OpenTelemetry library within PingDS for collecting telemetry data and pushing it to an OTLP endpoint.
Telemetry data is not business critical, therefore, in order to keep OpenTelemetry Plugin running, and only if the need arises, reaching a limit will result in dropping the excess telemetry data. This may include dropping any of the following or more: spans, events, links, attributes, truncating long strings, etc..
Parent
The OpenTelemetry Plugin object inherits from Plugin.
OpenTelemetry Plugin properties
You can use configuration expressions to set property values at startup time. For details, see Property value substitution.
enabled
Synopsis |
Indicates whether the plug-in is enabled for use. |
Default value |
None |
Allowed values |
true false |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
key-manager-provider
Synopsis |
Specifies the name of the key manager that should be used with this OpenTelemetry Plugin. |
Default value |
None |
Allowed values |
The name of an existing key-manager-provider. The referenced key manager provider must be enabled. |
Multi-valued |
No |
Required |
No |
Admin action required |
None Changes to this property take effect immediately, but only for subsequent requests to the authorization server. |
Advanced |
No |
Read-only |
No |
ssl-cert-nickname
Synopsis |
Specifies the nicknames (also called the aliases) of the keys or key pairs that the OpenTelemetry Plugin should use when performing SSL communication. |
Description |
The property can be used multiple times (referencing different nicknames) when server certificates with different public key algorithms are used in parallel (for example, RSA, DSA, and ECC-based algorithms). When a nickname refers to an asymmetric (public/private) key pair, the nickname for the public key certificate and associated private key entry must match exactly. A single nickname is used to retrieve both the public key and the private key. This is only applicable when the OpenTelemetry Plugin is configured to use SSL. |
Default value |
Let the server decide. |
Allowed values |
A string. |
Multi-valued |
Yes |
Required |
No |
Admin action required |
The object must be disabled and re-enabled for changes to take effect. |
Advanced |
No |
Read-only |
No |
tracer-exporter-otlp-endpoint
Synopsis |
Sets the OTLP/HTTP endpoint where the span exporter sends sampled spans. |
Description |
The endpoint must start with either http:// or https://, and include the full HTTP path. |
Default value |
|
Allowed values |
A string. |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
tracer-sampler
Synopsis |
The strategy used by the span exporter to sample spans. The sampling strategy is evaluated each time a span is started. |
Default value |
always-on |
Allowed values |
|
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
tracer-sampler-ratio
Synopsis |
The sampling ratio (as a percentage) when the "traceidratio" or "parentbased-traceidratio" samplers are used. |
Default value |
10 |
Allowed values |
An integer. Lower limit: 0. Upper limit: 100. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
trust-manager-provider
Synopsis |
Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server. |
Default value |
By default, no trust manager is specified indicating that only certificates signed by the authorities associated with this JVM will be accepted. |
Allowed values |
The name of an existing trust-manager-provider. The referenced trust manager provider must be enabled when SSL is enabled. |
Multi-valued |
No |
Required |
No |
Admin action required |
None Changes to this property take effect immediately, but only impact subsequent SSL connection negotiations. |
Advanced |
No |
Read-only |
No |
Advanced properties
Use the --advanced
option to access advanced properties.
invoke-for-internal-operations
Synopsis |
Indicates whether the plug-in should be invoked for internal operations. |
Description |
Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operations that can cause the same plug-in to be re-invoked. |
Default value |
true |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
java-class
Synopsis |
Specifies the fully-qualified name of the Java class that provides the plug-in implementation. |
Default value |
org.opends.server.plugins.OpenTelemetryPlugin |
Allowed values |
A Java class that extends or implements:
|
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
plugin-type
Synopsis |
Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked. |
Default value |
shutdown |
Allowed values |
|
Multi-valued |
Yes |
Required |
Yes |
Admin action required |
The object must be disabled and re-enabled for changes to take effect. |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-batch-enabled
Synopsis |
Whether spans are exported in batches, or one at a time as they finish. |
Description |
Setting this value to "false" is highly discouraged unless you know what you’re doing. This should only be used for troubleshooting very specific scenarios. It will cause all spans to be exported directly as they finish, meaning each export request will have a single |
Default value |
true |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-batch-exporter-timeout
Synopsis |
The maximum time an export will be allowed to run before being cancelled and spans are dropped. |
Default value |
30 s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-batch-max-export-batch-size
Synopsis |
The maximum number of spans that can be sent in a batch for each export. |
Default value |
512 |
Allowed values |
An integer. Lower limit: 0. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-batch-max-queue-size
Synopsis |
The maximum number of spans that are kept in the queue. Excess spans are dropped. |
Default value |
2048 |
Allowed values |
An integer. Lower limit: 0. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-batch-schedule-delay
Synopsis |
The interval between two consecutive exports. |
Default value |
5 s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-connect-timeout
Synopsis |
Maximum time to wait for new connections to be established |
Default value |
10 s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-export-unsampled-spans
Synopsis |
Whether unsampled spans should be exported. |
Default value |
false |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-header
Synopsis |
Headers that will be added to requests made to the OTLP endpoint. |
Default value |
No additional headers are sent out. |
Allowed values |
Header_name ':' optional_spaces header_value |
Multi-valued |
Yes |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-retry-backoff-multiplier
Synopsis |
The backoff multiplier |
Description |
Once the next random backoff interval has been chosen randomly, it is multiplied by this value. |
Default value |
1.5 |
Allowed values |
A floating point number |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-retry-initial-backoff
Synopsis |
The initial backoff before retrying exporting spans |
Default value |
1 s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-retry-max-attempts
Synopsis |
The maximum number of attempts to retry exporting spans, including the original request. |
Description |
After the maximum number of unsuccessful attempts is reached, the spans are dropped. |
Default value |
5 |
Allowed values |
An integer. Lower limit: 0. Upper limit: 10000. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-retry-max-backoff
Synopsis |
Set the maximum backoff interval before attempting again to export spans. |
Description |
The next random backoff interval is chosen randomly, whose upper bound is the maximum backoff interval. |
Default value |
5 s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-exporter-timeout
Synopsis |
Maximum time to wait for the collector to process an exported batch of spans |
Default value |
10 s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-span-attribute-count-limit
Synopsis |
The maximum number of attributes recorded per span. Excess attributes are dropped. |
Default value |
128 |
Allowed values |
An integer. Lower limit: 0. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-span-attribute-count-limit-per-event
Synopsis |
The maximum number of attributes recorded per event. Excess attributes are dropped. |
Default value |
128 |
Allowed values |
An integer. Lower limit: 0. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
tracer-span-attribute-count-limit-per-link
Synopsis |
The maximum number of attributes recorded per link. Excess attributes are dropped. |
Default value |
128 |
Allowed values |
An integer. Lower limit: 0. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |