grafana/pkg/tsdb/loki/testdata/matrix_simple.golden.jsonc
Giuseppe Guerra 7996a1c8ad
Chore: Update grafana-plugin-sdk-go to v0.142.0 (#58115)
* Chore: Update grafana-plugin-sdk-go to v0.142.0

* Update tests and golden files for 207 status code

* Chore: Move update flag definition at the top in response_parser_test.go

* retrigger

Co-authored-by: Will Browne <will.browne@grafana.com>
2022-11-03 18:34:27 +01:00

150 lines
4.4 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-many",
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
// }
// Name: {level="error", location="moon"}
// 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-many",
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
// }
// Name: {level="info", location="mars"}
// 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": {
"name": "{level=\"error\", location=\"moon\"}",
"meta": {
"type": "timeseries-many",
"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": {
"name": "{level=\"info\", location=\"mars\"}",
"meta": {
"type": "timeseries-many",
"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
]
]
}
}
]
}