elasticsearch: more tests (#64971)

* elasticsearch: more tests

* fix issue with uppercase refID on linux

---------

Co-authored-by: Todd Treece <todd.treece@grafana.com>
This commit is contained in:
Gábor Farkas
2023-03-20 14:50:26 +01:00
committed by GitHub
parent ee2dd62a1f
commit e1321f8721
13 changed files with 851 additions and 1 deletions
@@ -0,0 +1,54 @@
{
"took": 6,
"responses": [
{
"took": 5,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 142,
"relation": "eq"
},
"max_score": null,
"hits": []
},
"aggregations": {
"2": {
"buckets": [
{
"key_as_string": "1679061180000",
"key": 1679061180000,
"doc_count": 12,
"1": {
"value": 39.5
}
},
{
"key_as_string": "1679061240000",
"key": 1679061240000,
"doc_count": 66,
"1": {
"value": 78.5
}
},
{
"key_as_string": "1679061300000",
"key": 1679061300000,
"doc_count": 64,
"1": {
"value": 143.5
}
}
]
}
},
"status": 200
}
]
}