VictoriaMetrics/app/vmselect/prometheus
Roman Khavronenko f8d99e7875
app/vmselect: properly calculate start param for queries with too big look-behind window (#5630)
Properly determine time range search for instant queries with too big look-behind window like `foo[100y]`.
 Previously, such queries could return empty responses even if `foo` is present in database.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5553

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-01-21 23:50:58 +02: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
expand-with-exprs.qtpl update links to grafana dashboards (#3534) 2022-12-28 11:22:02 -08:00
expand-with-exprs.qtpl.go update links to grafana dashboards (#3534) 2022-12-28 11:22:02 -08:00
export.qtpl app/vmselect/prometheus: properly encode Prometheus label values at /federate endpoint 2023-12-07 16:13:59 +02:00
export.qtpl.go app/vmselect/prometheus: properly encode Prometheus label values at /federate endpoint 2023-12-07 16:13:59 +02:00
federate.qtpl app/vmselect: do not export NaN values for stale metrics at /federate endpoint 2022-10-01 19:48:21 +03:00
federate.qtpl.go app/vmselect: do not export NaN values for stale metrics at /federate endpoint 2022-10-01 19:48:21 +03:00
federate_test.go app/vmselect/prometheus: properly encode Prometheus label values at /federate endpoint 2023-12-07 16:13:59 +02:00
federate_timing_test.go app/vmselect/prometheus: properly encode Prometheus label values at /federate endpoint 2023-12-07 16:13:59 +02: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 app/vmselect: properly calculate start param for queries with too big look-behind window (#5630) 2024-01-21 23:50:58 +02:00
prometheus_test.go app/vmselect/prometheus: follow-up after 86dae56bd0 2022-12-16 17:16:26 -08: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
tenants_response.qtpl {app/vmstorage,app/vmselect}: add API to get list of existing tenants (#3348) 2022-11-25 10:32:45 -08:00
tenants_response.qtpl.go {app/vmstorage,app/vmselect}: add API to get list of existing tenants (#3348) 2022-11-25 10:32:45 -08: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