Query Api
Long time spans and small granularities can take a long time to calculate
name used to identify the query
the query expression to execute
the query type of the query
the start time of the query window in epoch milliseconds
the end time of the query window in epoch milliseconds (null to use now)
the granularity of the points returned
the approximate maximum number of points to return (may not limit number of points exactly)
whether series with only points that are outside of the query window will be returned (defaults to true)
whether events for sources included in the query will be automatically returned by the query
summarization strategy to use when bucketing points together
retrieve events more optimally displayed for a list
do not return points outside the query window [s;e), defaults to false
view of the query result, metric or histogram, defaults to metric
include metrics that have not been reporting recently, defaults to false
sorts the output so that returned series are in order, defaults to false
whether the query cache is used, defaults to true
dimensionTuples
useRawQK
successful operation
{
"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"
]
}
]
}
]
}
Error message, if query execution did not finish successfully
The name of this query
The query used to obtain this result
The warnings incurred by this query
The granularity of the returned results, in seconds
Error type, if query execution did not finish successfully