mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 16:57:14 -06:00
89b3663a23
* WIP * WIP * Refactor * Add tests * Cleanup * Fix whitespace * Fix test and lint * In snapshot tests update counter to be number * Add boolean value for snapshot testing * Update pkg/tsdb/elasticsearch/response_parser.go Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com> * Update pkg/tsdb/elasticsearch/response_parser.go Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com> * Use generic to reuse logic when creating fields * Use nullable fields * Fix lint * WIP (#63272) wip * Fix snapshot test after we changed field types to nullable --------- Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
24 lines
359 B
JSON
24 lines
359 B
JSON
[
|
|
{
|
|
"alias": "",
|
|
"datasource": {
|
|
"type": "elasticsearch",
|
|
"uid": "haha"
|
|
},
|
|
"datasourceId": 42,
|
|
"expression": "",
|
|
"hide": true,
|
|
"intervalMs": 200,
|
|
"maxDataPoints": 1248,
|
|
"metrics": [
|
|
{
|
|
"id": "1",
|
|
"type": "raw_data"
|
|
}
|
|
],
|
|
"query": "",
|
|
"refId": "a",
|
|
"window": ""
|
|
}
|
|
]
|