grafana/pkg/tsdb/loki/testdata_metric_dataplane/matrix_simple.golden.jsonc
Gábor Farkas 531caec602
Loki: Add feature flag to enable dataplane-compliant metric frames (#66017)
* loki: add feature flag to enable dataplane-compatible metric frames

* linter fix
2023-04-13 15:07:08 +02:00

164 lines
4.5 KiB
Plaintext

// 🌟 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 4 Rows
// +-----------------------------------+------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=error, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+------------------------------------+
// | 2021-12-10 08:36:06.989 +0000 UTC | 0.4 |
// | 2021-12-10 08:36:46.989 +0000 UTC | 0.2 |
// | 2021-12-10 08:36:56.989 +0000 UTC | 0.2 |
// | 2021-12-10 08:37:46.989 +0000 UTC | 0.6 |
// +-----------------------------------+------------------------------------+
//
//
//
// Frame[1] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 1
// ],
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
// }
// Name:
// Dimensions: 2 Fields by 5 Rows
// +-----------------------------------+-----------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=info, location=mars |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+-----------------------------------+
// | 2021-12-10 08:36:26.989 +0000 UTC | 0.6 |
// | 2021-12-10 08:36:36.989 +0000 UTC | 0.8 |
// | 2021-12-10 08:36:46.989 +0000 UTC | 0.8 |
// | 2021-12-10 08:36:56.989 +0000 UTC | 0.8 |
// | 2021-12-10 08:37:56.989 +0000 UTC | 2.6 |
// +-----------------------------------+-----------------------------------+
//
//
// 🌟 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": "error",
"location": "moon"
},
"config": {
"displayNameFromDS": "{level=\"error\", location=\"moon\"}"
}
}
]
},
"data": {
"values": [
[
1639125366989,
1639125406989,
1639125416989,
1639125466989
],
[
0.4,
0.2,
0.2,
0.6
]
]
}
},
{
"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": "mars"
},
"config": {
"displayNameFromDS": "{level=\"info\", location=\"mars\"}"
}
}
]
},
"data": {
"values": [
[
1639125386989,
1639125396989,
1639125406989,
1639125416989,
1639125476989
],
[
0.6,
0.8,
0.8,
0.8,
2.6
]
]
}
}
]
}