From 4afff1a78098df3186ace3a1bb57b6b37952de66 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 12 Feb 2021 12:59:41 +0300 Subject: [PATCH] fix interface Signed-off-by: Vasiliy Tolstov --- victoriametrics.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/victoriametrics.go b/victoriametrics.go index d4ff54c..a994cab 100644 --- a/victoriametrics.go +++ b/victoriametrics.go @@ -18,6 +18,10 @@ func NewMeter(opts ...meter.Option) meter.Meter { return &victoriametricsMeter{set: metrics.NewSet(), opts: meter.NewOptions(opts...)} } +func (r *victoriametricsMeter) Name() string { + return r.opts.Name +} + func (r *victoriametricsMeter) buildName(name string, opts ...meter.Option) string { var b strings.Builder