Quarkus Jaeger
This extension is consumed by the Quarkus SmallRye OpenTracing extension.
OpenTelemetry is the recommended approach to tracing and telemetry for Quarkus. The SmallRye OpenTracing support is discontinued and this extension is not actively maintained. If you are interested in maintaining this extension, please reach out to us in the GitHub issues of this extension. |
Installation
If you want to use this extension, you need to add the io.quarkiverse.jaeger:quarkus-jaeger
extension first to your build file.
For instance, with Maven, add the following dependency to your POM file:
<dependency>
<groupId>io.quarkiverse.jaeger</groupId>
<artifactId>quarkus-jaeger</artifactId>
<version>1.0.0</version>
</dependency>
Extension Configuration Reference
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Type |
Default |
|
---|---|---|
Defines if the Jaeger extension is enabled. Environment variable: |
boolean |
|
Whether metrics are published in case a metrics extension is present. Environment variable: |
boolean |
|
The traces endpoint, in case the client should connect directly to the Collector, like http://jaeger-collector:14268/api/traces Environment variable: |
||
Authentication Token to send as "Bearer" to the endpoint Environment variable: |
string |
|
Username to send as part of "Basic" authentication to the endpoint Environment variable: |
string |
|
Password to send as part of "Basic" authentication to the endpoint Environment variable: |
string |
|
The hostname and port for communicating with agent via UDP Environment variable: |
host:port |
|
Whether the reporter should also log the spans Environment variable: |
boolean |
|
The reporter’s maximum queue size Environment variable: |
int |
|
The reporter’s flush interval Environment variable: |
||
The sampler type (const, probabilistic, ratelimiting or remote) Environment variable: |
string |
|
The sampler parameter (number) Environment variable: |
||
The host name and port when using the remote controlled sampler Environment variable: |
host:port |
|
The service name Environment variable: |
string |
|
A comma separated list of name = value tracer level tags, which get added to all reported spans. The value can also refer to an environment variable using the format ${envVarName:default}, where the :default is optional, and identifies a value to be used if the environment variable cannot be found Environment variable: |
string |
|
Comma separated list of formats to use for propagating the trace context. Defaults to the standard Jaeger format. Valid values are jaeger and b3 Environment variable: |
string |
|
The sender factory class name Environment variable: |
string |
|
Whether the trace context should be logged. Environment variable: |
boolean |
|
Whether the registration of tracer as the global tracer should be disabled. This setting should only be turned on in tests that need to install a mock tracer. Environment variable: |
boolean |
|
Whether jaeger should run in zipkin compatibility mode Environment variable: |
boolean |
|
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|