diff options
Diffstat (limited to 'service/metrics/config.go')
-rw-r--r-- | service/metrics/config.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/service/metrics/config.go b/service/metrics/config.go index c2f85201..341d0c70 100644 --- a/service/metrics/config.go +++ b/service/metrics/config.go @@ -15,6 +15,14 @@ type Config struct { Collect map[string]Collector } +type NamedCollector struct { + // Name of the collector + Name string + + // Collector structure + Collector +} + // Collector describes single application specific metric. type Collector struct { // Namespace of the metric. |