mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
3fb6319d1b
* Move files to prometheus-library * refactor core prometheus to use prometheus-library * modify client transport options * mock * have a type * import aliases * rename * call the right method * remove unrelated test from the library * update codeowners * go work sync * update go.work.sum * make swagger-clean && make openapi3-gen * add promlib to makefile * remove clilogger * Export the function * update unit test * add prometheus_test.go * fix mock type * use mapUtil from grafana-plugin-sdk-go
95 lines
2.2 KiB
Plaintext
95 lines
2.2 KiB
Plaintext
// 🌟 This was machine generated. Do not edit. 🌟
|
|
//
|
|
// Frame[0] {
|
|
// "type": "timeseries-multi",
|
|
// "typeVersion": [
|
|
// 0,
|
|
// 0
|
|
// ],
|
|
// "custom": {
|
|
// "resultType": "matrix"
|
|
// },
|
|
// "executedQueryString": "Expr: 1 / 0\nStep: 1s"
|
|
// }
|
|
// Name: 1 / 0
|
|
// Dimensions: 2 Fields by 3 Rows
|
|
// +-------------------------------+-----------------+
|
|
// | Name: Time | Name: Value |
|
|
// | Labels: | Labels: |
|
|
// | Type: []time.Time | Type: []float64 |
|
|
// +-------------------------------+-----------------+
|
|
// | 2022-01-11 08:25:30 +0000 UTC | +Inf |
|
|
// | 2022-01-11 08:25:31 +0000 UTC | +Inf |
|
|
// | 2022-01-11 08:25:32 +0000 UTC | +Inf |
|
|
// +-------------------------------+-----------------+
|
|
//
|
|
//
|
|
// 🌟 This was machine generated. Do not edit. 🌟
|
|
{
|
|
"status": 200,
|
|
"frames": [
|
|
{
|
|
"schema": {
|
|
"name": "1 / 0",
|
|
"meta": {
|
|
"type": "timeseries-multi",
|
|
"typeVersion": [
|
|
0,
|
|
0
|
|
],
|
|
"custom": {
|
|
"resultType": "matrix"
|
|
},
|
|
"executedQueryString": "Expr: 1 / 0\nStep: 1s"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "Time",
|
|
"type": "time",
|
|
"typeInfo": {
|
|
"frame": "time.Time"
|
|
},
|
|
"config": {
|
|
"interval": 1000
|
|
}
|
|
},
|
|
{
|
|
"name": "Value",
|
|
"type": "number",
|
|
"typeInfo": {
|
|
"frame": "float64"
|
|
},
|
|
"labels": {},
|
|
"config": {
|
|
"displayNameFromDS": "1 / 0"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"data": {
|
|
"values": [
|
|
[
|
|
1641889530000,
|
|
1641889531000,
|
|
1641889532000
|
|
],
|
|
[
|
|
null,
|
|
null,
|
|
null
|
|
]
|
|
],
|
|
"entities": [
|
|
null,
|
|
{
|
|
"Inf": [
|
|
0,
|
|
1,
|
|
2
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |