prometheus/config
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 Add configuration option for GOGC 2024-06-05 15:23:16 +02:00
config.go Add configuration option for GOGC 2024-06-05 15:23:16 +02:00
config_default_test.go Add configuration option for GOGC 2024-06-05 15:23:16 +02:00
config_test.go Add configuration option for GOGC 2024-06-05 15:23:16 +02:00
config_windows_test.go Add configuration option for GOGC 2024-06-05 15:23:16 +02:00