VictoriaMetrics/app
Aliaksandr Valialkin 2f14394335
app/vmagent: follow-up for 090cb2c9de
- Add Try* prefix to functions, which return bool result in order to improve readability and reduce the probability of missing check
  for the result returned from these functions.

- Call the adjustSampleValues() only once on input samples. Previously it was called on every attempt to flush data to peristent queue.

- Properly restore the initial state of WriteRequest passed to tryPushWriteRequest() before returning from this function
  after unsuccessful push to persistent queue. Previously a part of WriteRequest samples may be lost in such case.

- Add -remoteWrite.dropSamplesOnOverload command-line flag, which can be used for dropping incoming samples instead
  of returning 429 Too Many Requests error to the client when -remoteWrite.disableOnDiskQueue is set and the remote storage
  cannot keep up with the data ingestion rate.

- Add vmagent_remotewrite_samples_dropped_total metric, which counts the number of dropped samples.

- Add vmagent_remotewrite_push_failures_total metric, which counts the number of unsuccessful attempts to push
  data to persistent queue when -remoteWrite.disableOnDiskQueue is set.

- Remove vmagent_remotewrite_aggregation_metrics_dropped_total and vm_promscrape_push_samples_dropped_total metrics,
  because they are replaced with vmagent_remotewrite_samples_dropped_total metric.

- Update 'Disabling on-disk persistence' docs at docs/vmagent.md

- Update stale comments in the code

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5088
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2110
2023-11-25 12:13:39 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-07-06 21:36:28 -07:00
vlinsert Add _stream fields log (#5068) 2023-11-17 16:04:13 +01:00
vlselect vmui: reduced the number of server requests (#5253) 2023-11-14 01:50:57 +01:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
vmagent app/vmagent: follow-up for 090cb2c9de 2023-11-25 12:13:39 +02:00
vmalert app/vmalert/notifier: remove backticks from the description for -notifier.blackhole command-line flag 2023-11-22 20:17:45 +02:00
vmalert-tool docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmauth docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmbackup docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmctl docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vminsert app/{vmagent,vminsert}: follow-up for NewRelic data ingestion protocol support 2023-10-16 13:55:04 +02:00
vmrestore docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmselect app/vmselect/promql: reduce the number of memory allocations inside copyTimeseriesShallow() 2023-11-17 15:41:38 +01:00
vmstorage vmcluster: re-routing enhancement (#5293) 2023-11-14 01:00:42 +01:00
vmui vmui: change autocomplete hotkey to Alt/Option + A (#5328) 2023-11-15 23:33:33 +01:00