VictoriaMetrics/app/vmselect/prometheus
Dima Lazerka ed8e88af11
Export "null" in jsonl instead of NaN (#2518)
* Export "null" in jsonl instead of NaN

The NaN appeared because of staleness markers that were added for compatibility. I think it's better to use json `null`, implemented here.

Also maybe it also makes sense to add a flag like `?skip-staleness-markers=true` to `/export`, to skip nulls at all?

* Update app/vmselect/prometheus/export.qtpl

* app/vmselect/prometheus/export.qtpl.go: `make quicktemplate-gen`

* docs/CHANGELOG.md: document the change

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-04-29 12:49:47 +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 Export "null" in jsonl instead of NaN (#2518) 2022-04-29 12:49:47 +03:00
export.qtpl.go Export "null" in jsonl instead of NaN (#2518) 2022-04-29 12:49:47 +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:23:23 +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:23:23 +03:00
label_values_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
label_values_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
labels_count_response.qtpl app/vmselect: add /api/v1/labels/count handler for quick detection of labels with the maximum number of distinct values 2019-06-10 19:55:38 +03:00
labels_count_response.qtpl.go app/vmselect: add /api/v1/labels/count handler for quick detection of labels with the maximum number of distinct values 2019-06-10 19:55:38 +03:00
labels_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
labels_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
prometheus.go app/vmselect: add fine-grained limits for the number of returned/scanned time series for various APIs 2022-03-26 11:29:49 +02:00
prometheus_test.go app/vmselect: accept optional extra_filters[] query args for all the supported Prometheus querying APIs 2021-12-06 17:07:09 +02:00
query_range_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
query_range_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
query_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
query_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
series_count_response.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:23:23 +03:00
series_count_response.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:23:23 +03:00
series_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
series_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tsdb_status_response.qtpl app/vmselect: add /api/v1/status/tsdb page with useful stats for locating root cause for high cardinality issues 2020-04-22 22:03:43 +03:00
tsdb_status_response.qtpl.go app/vmselect: add /api/v1/status/tsdb page with useful stats for locating root cause for high cardinality issues 2020-04-22 22:03:43 +03:00
util.qtpl app/vmselect/prometheus: minimize the diff for the change 1033dc7e2a over 619b0a25c9 2020-07-13 21:40:38 +03:00
util.qtpl.go app/vmselect/prometheus: minimize the diff for the change 1033dc7e2a over 619b0a25c9 2020-07-13 21:40:38 +03:00