grafana/pkg/tsdb/elasticsearch
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
..
client Elasticsearch: Added support for calendar_interval in ES date histogram queries (#75459) 2023-10-09 12:37:38 +02:00
instrumentation Elasticsearch: Add instrumentation for elasticsearch_plugin_parse_response_duration_seconds (#75628) 2023-09-28 18:38:14 +03:00
kinds/dataquery Codegen: Generate any instead of interface{} (#70201) 2023-06-16 10:54:56 +02:00
testdata Elasticsearch: Fix legend generated on backend (#66039) 2023-04-11 13:29:38 +02:00
testdata_request Elasticsearch: Fix processing of logs with not-recognized time format (#67767) 2023-05-04 19:33:00 +02:00
testdata_response Elastic: Add id field to Elastic responses to allow permalinking (#73382) 2023-08-18 11:39:58 +02:00
data_query_test.go Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
data_query.go Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
elasticsearch_test.go Plugins: Set grafana config, plugin version and user agent on plugin requests (#75171) 2023-09-21 11:33:31 +02:00
elasticsearch.go Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
error_handling_test.go Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
models.go elastic: backend: removed unused time-field (#61362) 2023-01-12 15:52:32 +00:00
parse_query_test.go Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
parse_query.go Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
querydata_test.go Tracing: Use tracing.InitializeTracerForTest (#75479) 2023-09-27 09:51:57 +02:00
response_bench_test.go Elasticsearch: Add benchmarks for processing of requests and responses (#65354) 2023-03-31 11:59:11 +02:00
response_parser_test.go Tracing: Use tracing.InitializeTracerForTest (#75479) 2023-09-27 09:51:57 +02:00
response_parser.go Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
snapshot_test.go Elastic: Add id field to Elastic responses to allow permalinking (#73382) 2023-08-18 11:39:58 +02:00