fix interface
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
5cd256fb29
commit
4afff1a780
@ -18,6 +18,10 @@ func NewMeter(opts ...meter.Option) meter.Meter {
|
|||||||
return &victoriametricsMeter{set: metrics.NewSet(), opts: meter.NewOptions(opts...)}
|
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 {
|
func (r *victoriametricsMeter) buildName(name string, opts ...meter.Option) string {
|
||||||
var b strings.Builder
|
var b strings.Builder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user