summaryrefslogtreecommitdiff
path: root/plugins/metrics/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/metrics/interface.go')
-rw-r--r--plugins/metrics/interface.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/metrics/interface.go b/plugins/metrics/interface.go
new file mode 100644
index 00000000..87ba4017
--- /dev/null
+++ b/plugins/metrics/interface.go
@@ -0,0 +1,7 @@
+package metrics
+
+import "github.com/prometheus/client_golang/prometheus"
+
+type StatProvider interface {
+ MetricsCollector() []prometheus.Collector
+}