NikolayTsvetkov
ce462e8cd7
Elasticsearch: Added support for calendar_interval in ES date histogram queries ( #75459 )
...
* Introduce support for calendar intervals in ES date histogram queries
* Add missing undef type check for ES calendar interval query support
2023-10-09 12:37:38 +02:00
Marcus Efraimsson
0128d0403f
Tracing: Use tracing.InitializeTracerForTest ( #75479 )
2023-09-27 09:51:57 +02:00
Ivana Huckova
4f0b31d21b
Elasticsearch: Add tracing to data source ( #74750 )
...
* Elasticsearch: Add tracing do data source
* Fix tests
* Address feedback
* Update pkg/tsdb/elasticsearch/response_parser.go
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Update pkg/tsdb/elasticsearch/response_parser.go
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Track error across both spans
* Add span for decoding of response
* Fix test
* Update setting of errors + fix test
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-09-18 10:49:12 +02:00
Ivana Huckova
51391a762b
Elasticsearch: Improve backend instrumentation of `QueryData` calls ( #74172 )
...
* Elasticsearch: Improve backend instrumentation of QueryData calls
* Add fromAlert
* Fix tests, move logger and context to struct
* Add instrumentation for processing response
* Move log for sending request closer to sending request
* Update
* Fix logging, improved messages, fix printing of queries
* Update log text
* Fix tests
* Fix lint
* Update logging to follow our guidelines
* Remove key-value pairs from logs that are going to be passed from instrumentation
* Update pkg/tsdb/elasticsearch/elasticsearch.go
2023-09-07 13:54:16 +02:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Ivana Huckova
6742be0c6d
Elasticsearch: Fix respecting of precision in geo hash grid ( #73917 )
...
* Elasticsearch: Fix ignoring precision when running queries trough backend
* Unify default value
* Revert "Unify default value"
This reverts commit d8e1d207a2
.
* Update test
2023-08-28 15:28:28 +02:00
Ivana Huckova
abc11d1dcf
Elasticsearch: Run log context queries through backend ( #65805 )
...
* Elasticsearch: Run context queries trough backend
* Fix typing
* Update
* Add possibility to run context query torugh backend and frontend
* Correctly sort
2023-04-05 18:32:02 +02:00
Ivana Huckova
66e4b12032
Elasticsearch: Fix using of interval value in histogram ( #65201 )
...
* Elasticsearch: Remove GetMinInterval method that is not used anymore
* Elasticsearch: Fix using of interval value in histogram
* Revert "Elasticsearch: Remove GetMinInterval method that is not used anymore"
This reverts commit a157003902
.
2023-03-23 09:36:50 +01:00
Ivana Huckova
e8bb894a02
Elasticsearch: Remove GetMinInterval method that is not used anymore ( #65203 )
2023-03-23 09:36:37 +01:00
Ivana Huckova
07ab12c07d
Elasticsearch: Rename time series query to es data query ( #64225 )
2023-03-07 13:57:24 +01:00