grafana/pkg/tsdb/elasticsearch
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
..
client Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02: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: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
data_query.go Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
elasticsearch_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
elasticsearch.go Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
error_handling_test.go elastic: improve error-messages, first step, tests only (#61847) 2023-01-23 12:46:52 +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 Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +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 Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
response_parser.go Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
snapshot_test.go Elastic: Add id field to Elastic responses to allow permalinking (#73382) 2023-08-18 11:39:58 +02:00