diff options
author | Valery Piashchynski <[email protected]> | 2020-11-09 18:14:33 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-09 18:14:33 +0300 |
commit | 49225cd9b0796ba381a767dfebd5b3c1dbbac69e (patch) | |
tree | d46d0f76798b693f4364c5dca21e03c1d4e2d690 /metrics | |
parent | 0874bcb2f6b284a940ba4f3507eb8c4619c27868 (diff) |
Inital commit of Metrics 2.0
Diffstat (limited to 'metrics')
-rw-r--r-- | metrics/interface.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/metrics/interface.go b/metrics/interface.go new file mode 100644 index 00000000..8207fb51 --- /dev/null +++ b/metrics/interface.go @@ -0,0 +1,9 @@ +package metrics + +import ( + "github.com/prometheus/client_golang/prometheus" +) + +type StatProvider interface { + MetricsCollector() prometheus.Collector +} |