VictoriaMetrics/lib/persistentqueue
Roman Khavronenko 0bed453737
Feature allow configuring disableOnDiskQueue and dropSamplesOnOverload per url (#6248)
* FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent.html):
allow configuring `-remoteWrite.disableOnDiskQueue` and
`-remoteWrite.dropSamplesOnOverload` cmd-line flags per each
`-remoteWrite.url`. See this [pull
request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6065).
Thanks to @rbizos for implementaion!
* FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent.html): add
labels `path` and `url` to metrics
`vmagent_remotewrite_push_failures_total` and
`vmagent_remotewrite_samples_dropped_total`. Now number of failed pushes
and dropped samples can be tracked per `-remoteWrite.url`.

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Raphael Bizos <r.bizos@criteo.com>
(cherry picked from commit 87fd400dfc)
2024-05-10 14:32:23 +02:00
..
fastqueue_test.go app/vmagent: follow-up for 090cb2c9de 2023-11-25 12:13:39 +02:00
fastqueue_timing_test.go app/vmagent: follow-up for 090cb2c9de 2023-11-25 12:13:39 +02:00
fastqueue.go Feature allow configuring disableOnDiskQueue and dropSamplesOnOverload per url (#6248) 2024-05-10 14:32:23 +02:00
filenames.go lib/{fs,persistentqueue}: use filepath.Join() instead of concatenating path parts with / 2023-04-13 20:14:07 -07:00
persistentqueue_test.go all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-03 03:00:45 +03:00
persistentqueue_timing_test.go lib/persistentqueue: delete corrupted persistent queue instead of throwing a fatal error 2021-04-05 19:26:51 +03:00
persistentqueue.go lib/persistentqueue: properly re-create flock.lock file inside directory if persistent queue is broken. 2023-10-31 19:10:26 +01:00