filer: add metrics for go memory, gc stats

This commit is contained in:
Chris Lu 2019-06-29 03:02:28 -07:00
parent 92c7f7e069
commit ee933cd859

View file

@ -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)