Loki: Add feature flag to enable dataplane-compliant metric frames (#66017)
* loki: add feature flag to enable dataplane-compatible metric frames * linter fix
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 1
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 8 Rows
|
||||
// +---------------------------------+--------------------------------------------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: level=info, location=moon, protocol=http |
|
||||
// | Type: []time.Time | Type: []float64 |
|
||||
// +---------------------------------+--------------------------------------------------+
|
||||
// | 2022-01-24 10:53:31.1 +0000 UTC | +Inf |
|
||||
// | 2022-01-24 10:58:31.2 +0000 UTC | -Inf |
|
||||
// | 2022-01-24 10:53:31.3 +0000 UTC | +Inf |
|
||||
// | 2022-01-24 10:58:31.4 +0000 UTC | -Inf |
|
||||
// | 2022-01-24 10:53:31.5 +0000 UTC | +Inf |
|
||||
// | 2022-01-24 10:58:31.6 +0000 UTC | -Inf |
|
||||
// | 2022-01-24 10:53:31.7 +0000 UTC | +Inf |
|
||||
// | 2022-01-24 10:58:31.8 +0000 UTC | -Inf |
|
||||
// +---------------------------------+--------------------------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
{
|
||||
"status": 200,
|
||||
"frames": [
|
||||
{
|
||||
"schema": {
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
1
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "Time",
|
||||
"type": "time",
|
||||
"typeInfo": {
|
||||
"frame": "time.Time"
|
||||
},
|
||||
"config": {
|
||||
"interval": 42000
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "number",
|
||||
"typeInfo": {
|
||||
"frame": "float64"
|
||||
},
|
||||
"labels": {
|
||||
"level": "info",
|
||||
"location": "moon",
|
||||
"protocol": "http"
|
||||
},
|
||||
"config": {
|
||||
"displayNameFromDS": "{level=\"info\", location=\"moon\", protocol=\"http\"}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
1643021611100,
|
||||
1643021911200,
|
||||
1643021611300,
|
||||
1643021911400,
|
||||
1643021611500,
|
||||
1643021911600,
|
||||
1643021611700,
|
||||
1643021911800
|
||||
],
|
||||
[
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
],
|
||||
"entities": [
|
||||
null,
|
||||
{
|
||||
"Inf": [
|
||||
0,
|
||||
2,
|
||||
4,
|
||||
6
|
||||
],
|
||||
"NegInf": [
|
||||
1,
|
||||
3,
|
||||
5,
|
||||
7
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user