fix interface

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-02-12 12:59:41 +03:00
parent 5cd256fb29
commit 4afff1a780

View File

@ -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