VictoriaMetrics/lib/flagutil
Aliaksandr Valialkin a211067f06
lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures
This fixes handling of values bigger than 2GiB for the following command-line flags:

- -storage.minFreeDiskSpaceBytes
- -remoteWrite.maxDiskUsagePerURL
2023-01-10 19:36:23 -08:00
..
array.go all: make fmt via the upcoming Go1.19 2022-07-11 19:23:25 +03:00
array_test.go app/vmagent: add -remoteWrite.roundDigits command-line option for limiting the number of digits after the point for stored values 2021-02-01 14:42:15 +02:00
bytes.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2023-01-10 19:36:23 -08:00
bytes_test.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2023-01-10 19:36:23 -08:00
duration.go lib/flagutil: re-use Duration.Set() call in NewDuration 2022-05-02 10:58:08 +03:00
duration_test.go lib/flagutil: re-use Duration.Set() call in NewDuration 2022-05-02 10:58:08 +03: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