Files
grafana/pkg/tsdb/prometheus/testdata/range_simple.result.json
Todd Treece db5f480a8f Prometheus: Fix timestamp truncation (#46302)
* avoid truncation to seconding by using time.Time directly

* update test coverage
2022-03-08 10:55:25 -05:00

35 lines
760 B
JSON

{
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": {
"__name__": "prometheus_http_requests_total",
"code": "200",
"handler": "/api/v1/query_range",
"job": "prometheus"
},
"values": [
[1641889530.123, "21"],
[1641889531.123, "32"],
[1641889532.123, "43"]
]
},
{
"metric": {
"__name__": "prometheus_http_requests_total",
"code": "400",
"handler": "/api/v1/query_range",
"job": "prometheus"
},
"values": [
[1641889530.123, "54"],
[1641889531.123, "65"],
[1641889532.123, "76"]
]
}
]
}
}