diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-29 03:02:28 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-29 03:02:28 -0700 |
| commit | ee933cd8599187e9a2196ec2f5fe6e65af7a6a1a (patch) | |
| tree | 6d19c9753a38c1a6d9f7717579183462a94b7c07 /weed/stats/metrics.go | |
| parent | 92c7f7e069ae3f60a54ee9e359a77902a2e05010 (diff) | |
| download | seaweedfs-ee933cd8599187e9a2196ec2f5fe6e65af7a6a1a.tar.xz seaweedfs-ee933cd8599187e9a2196ec2f5fe6e65af7a6a1a.zip | |
filer: add metrics for go memory, gc stats
Diffstat (limited to 'weed/stats/metrics.go')
| -rw-r--r-- | weed/stats/metrics.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go index 613e444c3..a9624cd86 100644 --- a/weed/stats/metrics.go +++ b/weed/stats/metrics.go @@ -96,6 +96,7 @@ func init() { FilerGather.MustRegister(FilerRequestHistogram) FilerGather.MustRegister(FilerStoreCounter) FilerGather.MustRegister(FilerStoreHistogram) + FilerGather.MustRegister(prometheus.NewGoCollector()) VolumeServerGather.MustRegister(VolumeServerRequestCounter) VolumeServerGather.MustRegister(VolumeServerRequestHistogram) |
