diff options
Diffstat (limited to 'interfaces/metrics')
-rw-r--r-- | interfaces/metrics/interface.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/interfaces/metrics/interface.go b/interfaces/metrics/interface.go new file mode 100644 index 00000000..505c3d7b --- /dev/null +++ b/interfaces/metrics/interface.go @@ -0,0 +1,9 @@ +package metrics + +import ( + "github.com/prometheus/client_golang/prometheus" +) + +type StatProvider interface { + MetricsCollector() []prometheus.Collector +} |