VictoriaMetrics/app
f41gh7 fbfd7415da
cluster: adds /api/v1/update/series API
It allows to modify exist series values.
User must write modified series into vminsert API
/insert/0/prometheus/api/v1/update/series

vminsert will generate id and add it to the series as __generation_id
label.

Modified series merged at vmselect side.
Only last series modify request at given time range will be applied.
Modification request could be exported with the following API request:
`curl localhost:8481/select/0/prometheus/api/v1/export -g -d
'reduce_mem_usage=true' -d 'match[]={__generation_id!=""}'`

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

adds guide

allow single datapoint modification

vmselectapi: prevent MetricBlockRef corruption

Modofying of MetricName byte slice may result into MetricBlockRef
corruption, since `ctx.mb.MetricName` is a pointer to
`MetricBlockRef.MetricName`.

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

Revert "vmselectapi: prevent MetricBlockRef corruption"

This reverts commit cf36bfa1895885fcc7dc2673248ee56c78180ea0.

app/vmstorage/servers: properly copy MetricName into MetricBlock inside blockIterator.NextBlock

This should fix the issue at cf36bfa189

(cherry picked from commit 916f1ab86c)

app/vmselect: correctly update single datapoint at merge

app/vmselect: adds mutex for series update map
previously it was sync api, but function signature was changed for performance optimizations
2023-08-23 15:36:12 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-07-06 21:36:28 -07:00
vlinsert app/vlinsert/elasticsearch: add a command-line flag to provide ES version (#4778) 2023-08-11 06:57:01 -07:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 86f1459ca6 2023-08-11 07:01:15 -07:00
vlstorage app/vlstorage: expose vl_data_size_bytes metric at /metrics page for tracking the on-disk data size (both indexdb and the data itself) 2023-07-31 07:56:16 -07:00
vmagent app/vmagent/remotewrite: follow-up after a27c2f3773 2023-08-17 14:47:28 +02:00
vmalert vmalert: fix vmalert_remotewrite_send_duration_seconds_total metric value (#4801) 2023-08-11 04:58:00 -07:00
vmauth vmauth: add broken backend backoff flag (#4416) 2023-08-11 04:30:23 -07:00
vmbackup vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-17 13:50:51 +02:00
vmbackupmanager docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:40:06 -07:00
vmctl lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-17 13:52:53 +02:00
vmgateway docs: follow-up after aec4b5db81 (#4638) 2023-07-19 14:48:17 -07:00
vminsert cluster: adds /api/v1/update/series API 2023-08-23 15:36:12 +02:00
vmrestore docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:40:06 -07:00
vmselect cluster: adds /api/v1/update/series API 2023-08-23 15:36:12 +02:00
vmstorage lib/storage: pre-create timeseries before indexDB rotation (#4652) 2023-07-22 15:23:14 -07:00
vmui all: update Go builder from Go1.20.7 to Go1.21.0 2023-08-11 06:26:27 -07:00