Ida Štambuk
149bc74191
ElasticSearch: Parse histogram interval as float instead int ( #99270 )
2025-01-22 12:51:24 +01:00
Ivana Huckova
7de65b39b5
Elasticsearch and Cloudwatch: Replace deprecated experimental/errorsource ( #97363 )
...
* Update elasticsearch
* Update azure monitor
* Update test
* Revert "Update azure monitor"
This reverts commit 21b53845b8
.
* Update cloudwatch
2024-12-12 10:12:03 +01:00
Nathan Vērzemnieks
f8c43d0bf3
Elasticsearch: Decouple backend from infra/tracing ( #90528 )
2024-07-19 09:26:10 +02:00
Nathan Vērzemnieks
9caa8151d8
Elasticsearch: Decouple backend from infra/log ( #90527 )
2024-07-19 08:51:18 +02:00
Ivana Huckova
494d169980
Elasticsearch: Fix legend for alerting, expressions and previously frontend queries ( #84485 )
...
* Elasticsearch: Fix legend for alerting, expressions and previously frontend queries
* Add comment
* Update comment
2024-03-18 18:01:33 +01:00
Ivana Huckova
a1718aafce
Elasticsearch: Add error source for DataQuery ( #77386 )
...
* WIP
* Refactor, plus update source of error in response_parser
* Adjust test
* Use methods and httpclient from errorsource
* Update pkg/tsdb/elasticsearch/data_query.go
Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
* Return nil error
* Fix test
* Fix integration test
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
2023-11-06 11:36:39 +01:00
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