VictoriaMetrics/app/vmagent/remotewrite
Gard Rimestad d0706c8c95
app/vmagent add metric for rate limit (#2521)
This adds a metric for the rate limit.
The limit is present as a flag currently:
`flag{name="remoteWrite.rateLimit", value="500000", is_set="true"} 1`

We are running many instances of vmagent and when creating alerts it is harder than it needs to be when extracting the value from the flag.

With this change it should be easier to monitor how close to the limit we are.

`((100/vmagent_remotewrite_rate_limit{account="account"})*sum (rate(vmagent_remotewrite_conn_bytes_written_total{account="account"}))) and ON (account) flag{name="remoteWrite.rateLimit"} == 1`
2022-05-02 22:20:05 +03:00
..
client.go app/vmagent add metric for rate limit (#2521) 2022-05-02 22:20:05 +03:00
pendingseries.go app/vmagent/remotewrite: prevent from infinite recursion panic when pushing a time series with big number of samples to remote storage 2022-03-18 19:06:22 +02:00
relabel.go app: allow specifying http and https urls in the following command-line flags 2021-12-03 00:10:02 +02:00
remotewrite.go app/vmagent: substitute hard-to-read 500000000 with 500MB in -remoteWrite.maxDiskUsagePerURL description 2022-04-26 15:48:20 +03:00
statconn.go app/vmagent: properly initialize stdDialer 2022-04-06 13:57:20 +03:00