Accepts a JaegerConfig or plain options.
The trace query client (shares this client's connections).
Build information parsed from the UI page (GET /); null when the page has none or the UI
is disabled (404).
Shuts down the tracing handles (flushing their batch processors) and samplers created through this client, then releases connections. Idempotent.
Liveness of the query service: GET / on the query port (the stack catalog health target),
without the token. With healthUrl set, the healthcheckv2 /status answer is added (healthy=false when it
reports unhealthy). Never throws for an unhealthy or unreachable service (only CANCELLED
and CONFIG).
Starts OpenTelemetry tracing to Jaeger (see the package-level initTracing); a remote
sampler it creates uses this client's configuration (samplingUrl, token, TLS). The handle
is shut down by close.
Round trip through the query API: GET /api/v3/services. Returns the latency in ms.
Creates a JaegerRemoteSampler that uses this client's settings (samplingUrl,
timeouts, TLS, proxy, headers). It is closed by close.
Fetches the remote sampling strategy of a service once (GET {samplingUrl}?service=), with
this client's settings and token. A blank service throws ValidationError without a
request.
Server version without the leading v (e.g. 2.23.0): parsed from JAEGER_VERSION in the
UI page, else from target_info{service_version=…} at metricsUrl. Throws
UnsupportedError when neither source reports one (a 404 from either source is not
NotFoundError).
StaticfromBuilds a client from GROW_JAEGER_* (and vendor) environment variables.
Client for Jaeger: health, ping and version of the query service, plus the query API (query), tracing setup (initTracing) and remote sampling (remoteSampler). close also shuts down every tracing handle and sampler created through this client.