Prometheus: add tests covering the prometheus-response to dataframes conversion (#43892) (#44023)

* prometheus: add tests covering prometheus_response to grafana_dataframes

* fixed variable name

* added comment

* removed not-helping function call

(cherry picked from commit 4a88b8f66c)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-01-14 09:47:08 +01:00
committed by GitHub
co-authored by Gábor Farkas
parent 5a5050df32
commit c76acbadd6
14 changed files with 366 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": { "__name__": "go_goroutines", "job": "prometheus" },
"values": [
[1641889533, "21"],
[1641889534, "32"],
[1641889537, "43"]
]
}
]
}
}