VictoriaMetrics/app/vmselect/prometheus
Roman Khavronenko 8a26ec435d
vmselect: introduce UserReadableError type of error (#2894)
When read query fails, VM returns rich error message with
all the details. While these details might be useful
for debugging specific cases, they're usually too verbose
for users.
Introducing a new error type `UserReadableError` is supposed
to allow to return to user only the most important parts
of the error trace. This supposed to improve error readability
in web interfaces such as VMUI or Grafana.

The full error trace is still logged with the full context
and can be found in vmselect logs.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-08-15 13:53:18 +03:00
..
error_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
error_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
export.qtpl all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
export.qtpl.go all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
federate.qtpl all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:27:49 +03:00
federate.qtpl.go all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:27:49 +03:00
label_values_response.qtpl lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:16:12 +03:00
label_values_response.qtpl.go lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:16:12 +03:00
labels_response.qtpl lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:16:12 +03:00
labels_response.qtpl.go lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:16:12 +03:00
prometheus.go vmselect: introduce UserReadableError type of error (#2894) 2022-08-15 13:53:18 +03:00
prometheus_test.go app/vmselect: accept optional extra_filters[] query args for all the supported Prometheus querying APIs 2021-12-06 17:33:49 +02:00
query_range_response.qtpl all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
query_range_response.qtpl.go all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
query_response.qtpl all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
query_response.qtpl.go all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
series_count_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
series_count_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
series_response.qtpl app/vmselect: properly generate response for /api/v1/series 2022-07-06 12:46:23 +03:00
series_response.qtpl.go app/vmselect: properly generate response for /api/v1/series 2022-07-06 12:46:23 +03:00
tsdb_status_response.qtpl app/vmselect: accept focusLabel query arg at /api/v1/status/tsdb 2022-06-14 18:39:00 +03:00
tsdb_status_response.qtpl.go app/vmselect: accept focusLabel query arg at /api/v1/status/tsdb 2022-06-14 18:39:00 +03:00
util.qtpl all: add initial support for query tracing 2022-06-01 02:31:44 +03:00
util.qtpl.go all: add initial support for query tracing 2022-06-01 02:31:44 +03:00