Geronimo OpenTracing provides an OpenTracing implementation and a Microprofile OpenTracing implementation at once.
Note
|
sampling is not yet supported because it leads to push inconsistent spans to the backend, however you can always specialize (CDI)
your FinishSpan observer to implement it if desired.
|
Note
|
if you are using Microprofile Config it is used, otherwise it uses system properties. |
Key |
Description |
Default |
geronimo.opentracing.filter.active |
Should OpenTracing be activated |
true |
geronimo.opentracing.filter.forcedTracing.urls |
Urls for which the tracking should be activated automatically. The urls are actually the requets uri minus the context path. |
- |
geronimo.opentracing.filter.skippedTracing.urls |
Urls for which the tracking should be skipped. |
- |
geronimo.opentracing.filter.skippedTracing.matcherType |
Type of matcher for the url, default is |
prefix |
geronimo.opentracing.filter.forcedTracing.matcherType |
Type of matcher for the url, default is |
prefix |
geronimo.opentracing.filter.forcedTracing.skipDefaultTags |
Should |
false |
geronimo.opentracing.server.filter.request.skip.<endpoint class>_<endpoint method> |
Should server instrumentation be ignored |
false |
geronimo.opentracing.server.filter.request.skip |
Should server instrumentation be ignored (if previous is not set) |
false |
geronimo.opentracing.server.filter.request.skipDefaultTags |
Should |
false |
geronimo.opentracing.server.filter.request.operationName.usePath |
Should the operationName use the |
false |
geronimo.opentracing.client.filter.request.skip |
Should client instrumentation be ignored |
false |
geronimo.opentracing.client.filter.request.skipDefaultTags |
Should |
false |
geronimo.opentracing.client.filter.request.skipPeerTags |
Should |
false |
geronimo.opentracing.propagation.headers.parentSpanId |
Name of the header used to host the parent spanId value |
|
geronimo.opentracing.propagation.headers.spanId |
Name of the header used to host the spanId value |
|
geronimo.opentracing.propagation.headers.traceId |
Name of the header used to host the traceId value |
|
geronimo.opentracing.propagation.headers.baggagePrefix |
Prefix of headers used to host the baggage values |
|
geronimo.opentracing.id.generator |
|
counter |
geronimo.opentracing.id.generator.hex.prefix |
For hex generator, a prefix to prepend to all ids. |
- |
geronimo.opentracing.span.converter.zipkin.active |
Should spans converted to a zipkin representation. True until there is a standard opentracing format. |
true |
geronimo.opentracing.span.converter.zipkin.serviceName |
The local serviceName. |
hostname-jvmid |
geronimo.opentracing.span.converter.zipkin.logger.active |
Should a logger named |
true |
geronimo.opentracing.span.converter.zipkin.logger.wrapAsList |
Should zipkin JSON be logged wrapped in a list. |
true |
To monitor a CDI executor service, you can decorate it with @TracedExecutorService
.