Get desktop application:
View/edit binary Protocol Buffers messages
FindTraceSummaries searches for traces matching the given query and streams back lightweight summary information for each matching trace. Each response chunk may contain one or more summaries. Use this instead of FindTraces when full span data is not required (e.g. search results page).
Request object for FindTraceSummaries.
Response chunk for FindTraceSummaries. A single RPC call may yield multiple chunks, each carrying one or more summaries, mirroring the chunked streaming used by FindTraces / GetTrace.
FindTraces searches for traces. See GetTrace for JSON unmarshalling.
Request object to search traces.
Required. The start time for the time range to search dependencies.
Required. The end time for the time range to search dependencies.
GetOperations returns operation names.
Request object to get operation names.
Required service name.
Optional span kind.
Response object to get operation names.
GetServices returns service names.
Request object to get service names.
(message has no fields)
Response object to get service names.
GetTrace returns a single trace. Note that the JSON response over HTTP is wrapped into result envelope "{"result": ...}" It means that the JSON response cannot be directly unmarshalled using JSONPb. This can be fixed by first parsing into user-defined envelope with standard JSON library or string manipulation to remove the envelope. Alternatively generate objects using OpenAPI.
Request object to get a trace.
Hex encoded 64 or 128 bit trace ID.
Optional. The start time to search trace ID.
Optional. The end time to search trace ID.
Optional. If set to true, the response will not include any enrichments to the trace, such as clock skew adjustment. Instead, the trace will be returned exactly as stored.
Used in:
GRPCGatewayError is the type returned when GRPC server returns an error. Example: {"error":{"grpcCode":2,"httpCode":500,"message":"...","httpStatus":"text..."}}.
Used in:
GRPCGatewayWrapper wraps streaming responses from GetTrace/FindTraces for HTTP. Today there is always only one response because internally the HTTP server gets data from QueryService that does not support multiple responses. But in the future the server may return multiple responeses using Transfer-Encoding: chunked. In case of errors, GRPCGatewayError above is used. Example: {"result": {"resourceSpans": ...}} See https://github.com/grpc-ecosystem/grpc-gateway/issues/2189
Operation encapsulates information about operation.
Used in:
ServiceSummary contains per-service statistics for a trace, matching what the UI renders as a coloured tag in the search results row.
Used in:
Name of the service.
Number of spans attributed to this service in the trace.
Number of spans from this service that carry OTEL StatusCode = ERROR. The UI renders an error icon when this value is > 0. Only spans explicitly owned by this service are counted; there is no error propagation from child spans of other services.
Query parameters to find traces. All fields form a conjunction (e.g., "service_name='X' AND operation_name='Y' AND ..."), except for `search_depth` and `raw_traces`. Fields are matched against individual spans, not the trace level. The results include traces with at least one matching span. The results have no guaranteed ordering.
Used in: ,
service_name filters spans generated by a specific service.
operation_name filters spans by a specific operation / span name.
attributes contains key-value pairs where the key is the attribute name and the value is its string representation. Attributes are matched against span and resource attributes. At least one span must match all specified attributes. The HTTP API expects this as a URL-encoded JSON string map. Example: {"http.status_code":"200","error":"true"}
start_time_min is the start of the time interval (inclusive) for the query. Only traces with spans that started on or after this time will be returned. The HTTP API uses RFC-3339ns format. This field is required.
start_time_max is the end of the time interval (exclusive) for the query. Only traces with spans that started before this time will be returned. The HTTP API uses RFC-3339ns format. This field is required.
duration_min is the minimum duration of a span in the trace. Only traces with spans that lasted at least this long will be returned. The HTTP API uses Golang's time format (e.g., "10s").
duration_max is the maximum duration of a span in the trace. Only traces with spans that lasted at most this long will be returned. The HTTP API uses Golang's time format (e.g., "10s").
search_depth defines the maximum search depth. Depending on the backend storage implementation, this may behave like an SQL `LIMIT` clause. However, some implementations might not support precise limits, and a larger value generally results in more traces being returned.
If set to true, the response will exclude any enrichments to the trace, such as clock skew adjustments. The trace will be returned exactly as stored. This field is optional.
TraceSummary contains lightweight summary information about a trace, suitable for display in search result lists.
Used in:
Hex-encoded 128-bit trace ID.
Name of the service that owns the root span.
Operation name of the root span.
Start timestamp of the earliest span in the trace (Unix nanoseconds). Named to match the OTLP convention (e.g. startTimeUnixNano in OTLP span JSON). proto3 JSON encoding: fixed64/uint64/int64 fields are serialised as decimal strings to avoid float64 precision loss in JavaScript for values above 2^53.
End timestamp of the latest span in the trace (Unix nanoseconds). The UI may compute duration as BigInt(maxEndTimeUnixNano) - BigInt(minStartTimeUnixNano).
Total number of spans in the trace.
Number of spans that carry an error indicator (OTEL StatusCode = ERROR).
Number of spans whose parent span ID is not present in this trace. A non-zero value indicates an incomplete or partial trace.
Per-service breakdown, one entry per distinct service name observed across all spans, sorted by name.