VictoriaMetrics/lib/flagutil
Aliaksandr Valialkin 49552eaa15
app/vmauth: add support for hot standby mode via first_available load balancing policy
vmauth in `hot standby` mode sends requests to the first url_prefix while it is available.
If the first url_prefix becomes unavailable, then vmauth falls back to the next url_prefix.
This allows building highly available setup as described at https://docs.victoriametrics.com/vmauth.html#high-availability

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4893
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4792
2023-12-08 23:32:10 +02:00
..
array.go app/vmauth: add support for hot standby mode via first_available load balancing policy 2023-12-08 23:32:10 +02:00
array_test.go app/vmauth: add support for hot standby mode via first_available load balancing policy 2023-12-08 23:32:10 +02:00
bytes.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
bytes_test.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
duration.go docs: update -help output after recent changes to VictoriaMetrics components 2023-11-02 20:27:16 +01:00
duration_test.go lib/flagutil: add Duration.Milliseconds() convenience function after 0c7d46d637 2023-09-03 10:55:35 +02:00
flag.go lib/flagutil: do not expose sensitive info (passwords, keys and urls) at /flags page 2021-10-20 00:51:15 +03:00
secret.go app/vmagent: substitute -remoteWrite.url with secret-url value in logs, since it may contain sensitive info such as passwords or auth tokens 2020-09-16 22:36:18 +03:00
usage.go lib/flagutil: make golangci-lint happy by using strings.TrimPrefix instead of manual prefix removal via strings.HasPrefix 2020-12-03 22:07:26 +02:00