prometheus/cmd/prometheus
SuperQ 68ba6c1ae5
Add configuration option for GOGC
Add the ability to adjust the `GOGC` variable from the Prometheus
configuration file.
* Create a new top-level `runtime` section in the config.
* Adjust from the Go default of 100 to 50 to reduce wasted memory.
* Use the `GOGC` env value if no configuraiton is used.

Signed-off-by: SuperQ <superq@gmail.com>
2024-06-05 15:23:16 +02:00
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go Add configuration option for GOGC 2024-06-05 15:23:16 +02:00
main_test.go Enable perfsprint linter and fix up code 2024-05-15 17:51:05 +03:00
main_unix_test.go tests: remove err from message when testify prints it already 2024-02-01 14:18:01 +00:00
query_log_test.go Upgrade to golangci-lint v1.59.0 2024-05-27 22:38:48 +02:00