@grow-codes/jaeger - v0.1.1
    Preparing search index...

    Class JaegerQueryClient

    Reads traces back from Jaeger's query service (port 16686): the v3 HTTP API (/api/v3/*) for traces, search, services and operations, the legacy /api/traces/{id} as a fallback for getTrace, and the legacy /api/dependencies. Every call is a GET (retried on 5xx).

    Get one from JaegerClient.query (shares the client's connections) or construct it from a config (owns its own connections; call close).

    Hierarchy (View Summary)

    Index
    • Releases connections when this client owns them (no-op for client.query). Idempotent.

      Returns Promise<void>

    • Fetches one trace: GET /api/v3/traces/{id}, falling back to the legacy GET /api/traces/{id} when the v3 route is missing. Returns null when the trace does not exist. The id may be 32 or 16 hex characters (left-padded); anything else throws ValidationError without a request.

      Parameters

      Returns Promise<Trace | null>