Trace and log queries¶
The OpenTelemetry Collector stores nothing: it receives, processes and forwards telemetry. The
category query interfaces therefore exist for API parity only and every method fails with
UNSUPPORTED (in every language):
| Function | Result |
|---|---|
client.traceQuery() → getTrace, searchTraces, listServices, listOperations, getDependencies, waitForTrace |
UNSUPPORTED |
client.logQuery() → search, tail, listStreams, listLabels, waitForLog |
UNSUPPORTED |
Query the backend the collector exports to instead, for example with the Grow Codes SDK for
Jaeger, Grafana Tempo, Zipkin, Grafana Loki or
OpenObserve, which implement the same TraceQueryClient / LogQueryClient interfaces.
The integration tests of this repository read telemetry back through test-only adapters: the
collector's file exporter (served over HTTP by a sidecar) and a Jaeger 2.23.0 sidecar. They live in
each language's integration/ project and are not part of the published packages.