mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00

* Show info annotations from Prometheus datasources in the UI * Add test data for backend
38 lines
997 B
JSON
38 lines
997 B
JSON
{
|
|
"status" : "success",
|
|
"data" : {
|
|
"resultType" : "vector",
|
|
"result" : [
|
|
{
|
|
"metric" : {
|
|
"__name__" : "up",
|
|
"job" : "prometheus",
|
|
"instance" : "localhost:9090"
|
|
},
|
|
"value": [ 1435781451.781, "1" ]
|
|
},
|
|
{
|
|
"metric" : {
|
|
"__name__" : "up",
|
|
"job" : "node",
|
|
"instance" : "localhost:9100"
|
|
},
|
|
"value" : [ 1435781451.781, "0" ]
|
|
},
|
|
{
|
|
"metric": { "level": "error", "location": "moon"},
|
|
"value": [1645029699, "+Inf"]
|
|
},
|
|
{
|
|
"metric": { "level": "info", "location": "moon" },
|
|
"value": [1645029699, "-Inf"]
|
|
},
|
|
{
|
|
"metric": { "level": "debug", "location": "moon" },
|
|
"value": [1645029699, "NaN"]
|
|
}
|
|
]
|
|
},
|
|
"infos" : ["info 1", "info 2"]
|
|
}
|