QueryResult

QueryResult
QueryResult
JSON Example
{
    "errorMessage": "string",
    "name": "string",
    "query": "string",
    "stats": {
        "keys": 0,
        "points": 0,
        "metrics": 0,
        "edges": 0,
        "spans": 0,
        "distributions": 0,
        "summaries": 0,
        "queries": 0,
        "buffer_keys": 0,
        "compacted_keys": 0,
        "skipped_compacted_keys": 0,
        "compacted_points": 0,
        "cached_compacted_keys": 0,
        "latency": 0,
        "s3_keys": 0,
        "cpu_ns": 0,
        "metrics_used": 0,
        "hosts_used": 0,
        "query_tasks": 0
    },
    "warnings": "string",
    "events": [
        {
            "name": "string",
            "start": 0,
            "end": 0,
            "hosts": [
                "string"
            ],
            "summarized": 0,
            "isEphemeral": false
        }
    ],
    "spans": [
        {
            "name": "string",
            "annotations": [
                {}
            ],
            "host": "string",
            "startMs": 0,
            "spanId": "string",
            "traceId": "string",
            "durationMs": 0
        }
    ],
    "timeseries": [
        {
            "label": "string",
            "host": "string",
            "data": [
                [
                    {}
                ]
            ]
        }
    ],
    "granularity": 0,
    "errorType": "string",
    "traces": [
        {
            "end_ms": 0,
            "spans": [
                {
                    "name": "string",
                    "annotations": [
                        {}
                    ],
                    "host": "string",
                    "startMs": 0,
                    "spanId": "string",
                    "traceId": "string",
                    "durationMs": 0
                }
            ],
            "start_ms": 0,
            "traceId": "string",
            "total_duration_ms": 0
        }
    ],
    "dimensions": [
        {
            "key": [
                "string"
            ],
            "valueList": [
                {
                    "count": 0,
                    "value": [
                        "string"
                    ]
                }
            ]
        }
    ],
    "traceDimensions": [
        {
            "key": [
                "string"
            ],
            "valueList": [
                {
                    "count": 0,
                    "value": [
                        "string"
                    ]
                }
            ]
        }
    ]
}
string
errorMessage
Optional

Error message, if query execution did not finish successfully

string
name
Optional

The name of this query

string
query
Optional

The query used to obtain this result

stats
Optional

stats

string
warnings
Optional

The warnings incurred by this query

array of QueryEvent
events
Optional

events

array of Span
spans
Optional

spans

array of Timeseries
timeseries
Optional

timeseries

integer As int64 As int64
granularity
Optional

The granularity of the returned results, in seconds

string
errorType
Optional

Error type, if query execution did not finish successfully

Possible values are : N/A, QuerySyntaxError, QueryExecutionError, Timeout,
array of Trace
traces
Optional

traces

dimensions
Optional

List of all dimension tuple results

traceDimensions
Optional

List of all tracing tuple results

Returned By