mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Look for 'caused_by.reason' in ES error response When the ES response does not contain `reason` or `root_cause[0].reason` is empty, there is no information for the user to know what is going wrong. An example of the error message after this change: ``` Failed to evaluate queries and expressions: failed to execute query A: Trying to create too many buckets. Must be less than or equal to: [65536] but this number of buckets was exceeded. This limit can be set by changing the [search.max_buckets] cluster level setting. ``` Related to https://github.com/grafana/grafana/issues/61246 |
||
---|---|---|
.. | ||
client | ||
testdata | ||
testdata_request | ||
testdata_response | ||
elasticsearch_test.go | ||
elasticsearch.go | ||
models.go | ||
parse_query_test.go | ||
parse_query.go | ||
querydata_test.go | ||
response_parser_frontend_test.go | ||
response_parser_test.go | ||
response_parser.go | ||
snapshot_test.go | ||
time_series_query_test.go | ||
time_series_query.go |