mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-14 10:30:27 +01:00
Also log number of objects in heap
This commit is contained in:
parent
d3e82c0c5c
commit
106fa2f204
@ -204,6 +204,8 @@ func (c *command) runInForeground(profileCronExpression string) error {
|
||||
formatBytes(memStats.HeapInuse, false),
|
||||
"memory_heap_sys",
|
||||
formatBytes(memStats.HeapSys, false),
|
||||
"memory_heap_objects",
|
||||
memStats.HeapObjects,
|
||||
)
|
||||
}); err != nil {
|
||||
return fmt.Errorf("runInForeground: error adding profiling job: %w", err)
|
||||
|
Loading…
Reference in New Issue
Block a user