aboutsummaryrefslogtreecommitdiff
path: root/weed/stats
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-29 03:02:28 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-29 03:02:28 -0700
commitee933cd8599187e9a2196ec2f5fe6e65af7a6a1a (patch)
tree6d19c9753a38c1a6d9f7717579183462a94b7c07 /weed/stats
parent92c7f7e069ae3f60a54ee9e359a77902a2e05010 (diff)
downloadseaweedfs-ee933cd8599187e9a2196ec2f5fe6e65af7a6a1a.tar.xz
seaweedfs-ee933cd8599187e9a2196ec2f5fe6e65af7a6a1a.zip
filer: add metrics for go memory, gc stats
Diffstat (limited to 'weed/stats')
-rw-r--r--weed/stats/metrics.go1
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)