77b1c97482
Elasticsearch: Remove xpack button and make includeFrozen not dependant on it ( #84734 )
2024-03-20 09:59:26 +01:00
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
0cf6b94fa2
tsdb/elasticsearch: remove TimeInterval field from tsdb/elasticsearch client ( #78264 )
...
remove TimeInterval field from tsdb/elasticsearch client #78187
Co-authored-by: Sam <samucap@users.noreply.github.com>
2023-11-16 14:57:21 +01:00
0128d0403f
Tracing: Use tracing.InitializeTracerForTest ( #75479 )
2023-09-27 09:51:57 +02:00
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
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
0cff917f2a
Elasticsearch: Removed reference to obsolete esVersion value ( #65415 )
...
* elastic: removed reference to obsolete esVersion value
* removed unused code
* cleaned up tests
2023-03-28 17:04:56 +03:00
d258c8ef8a
Elasticsearch: Implement processing of logs query results in backend ( #63647 )
...
* Elasticsearch: Add processing of logs query to backend
* Add and fix tests
* Add snapshot tests
* Fix test in ES client
* Small updates, remove redundant logic
* Refactor setPreferredVisType to improve readability
2023-03-01 05:50:56 -05:00
0bf4093005
Chore: Fix goimports grouping ( #62428 )
...
* fix goimports order
* fix goimports order
2023-01-30 08:50:27 +00:00
bedd0b311a
elastic: improve error-messages, first step, tests only ( #61847 )
2023-01-23 12:46:52 +01:00
772e8cbf60
Elasticsearch: Use interval provided by data request in backend ( #60480 )
...
* Elasticsearch: Remove interval caulation and use interval provises by grafana
* Remove redundant code
* Adjust snapshot tests
* Update test
* Fix lint
2023-01-05 12:26:27 +01:00
f1dfaa784a
elastic: add more backend tests ( #59312 )
...
* elastic: added backend snapshot tests
* linter fixes
2022-11-28 14:59:57 +01:00