Liberty
OpenTelemetry Java agent instrumentation
This instrumentation enables HTTP server spans and metrics for IBM WebSphere Liberty application server.
- Name:
liberty-20.0 - Scope:
io.opentelemetry.liberty-20.0 - Library: https://openliberty.io/
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.http.known-methods | list | CONNECT,DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT,TRACE | Configures the instrumentation to recognize an alternative set of HTTP request methods. All other methods will be treated as _OTHER. |
otel.instrumentation.http.server.capture-request-headers | list | List of HTTP request headers to capture in HTTP server telemetry. | |
otel.instrumentation.http.server.capture-response-headers | list | List of HTTP response headers to capture in HTTP server telemetry. | |
otel.instrumentation.http.server.emit-experimental-telemetry | boolean | false | Enable the capture of experimental HTTP server telemetry. Adds the http.request.body.size and http.response.body.size attributes to spans, and records http.server.request.body.size and http.server.response.body.size metrics. |
otel.instrumentation.servlet.experimental-span-attributes | boolean | false | Enables capturing the experimental servlet.timeout span attribute. |
otel.instrumentation.servlet.experimental.capture-request-parameters | list | Deprecated include-only alias for otel.instrumentation.servlet.experimental.request-parameters.included. It does not support glob patterns: an entry containing * or ? is ignored with a warning, and every other entry is matched as a literal request parameter name. It may be removed in the next minor release. | |
otel.instrumentation.servlet.experimental.request-parameters.excluded | list | A comma-separated list of case-sensitive request parameter name patterns to exclude from span attributes. ? matches one character and * matches zero or more characters. Excluded patterns take precedence over included patterns. No request parameters are captured unless an included or excluded pattern is configured; configuring only excluded patterns captures all request parameters that do not match them, which may expose sensitive information. | |
otel.instrumentation.servlet.experimental.request-parameters.included | list | A comma-separated list of case-sensitive request parameter name patterns to capture as span attributes. ? matches one character and * matches zero or more characters. Excluded patterns take precedence over included patterns. No request parameters are captured unless an included or excluded pattern is configured; configuring only excluded patterns captures all request parameters that do not match them, which may expose sensitive information. |