Add function to list all metric names from default set (#29)
This commit is contained in:
parent
6cf96d45a0
commit
2767350561
@ -110,3 +110,8 @@ func WriteFDMetrics(w io.Writer) {
|
||||
func UnregisterMetric(name string) bool {
|
||||
return defaultSet.UnregisterMetric(name)
|
||||
}
|
||||
|
||||
// ListMetricNames returns a list of all the metric names from default set.
|
||||
func ListMetricNames() []string {
|
||||
return defaultSet.ListMetricNames()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user