mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-23 05:11:40 +02:00
Add some golang debug options
This commit is contained in:
@@ -15,3 +15,9 @@ CONF_DIR=/etc/cc-metric-collector
|
||||
CONF_FILE=/etc/cc-metric-collector/cc-metric-collector.json
|
||||
|
||||
RESTART_ON_UPGRADE=true
|
||||
|
||||
# Golang runtime debugging. (see: https://pkg.go.dev/runtime)
|
||||
# GODEBUG=gctrace=1
|
||||
|
||||
# Golang garbage collection target percentage
|
||||
# GOGC=100
|
||||
|
Reference in New Issue
Block a user