fix flout counter on clone

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-04-13 20:01:15 +03:00
parent 9afed0bfb0
commit c0b834b0b4

View File

@ -388,12 +388,13 @@ func (m *prometheusMeter) Clone(opts ...meter.Option) meter.Meter {
}
return &prometheusMeter{
set: m.set,
opts: options,
counter: m.counter,
gauge: m.gauge,
histogram: m.histogram,
summary: m.summary,
set: m.set,
opts: options,
floatCounter: m.floatCounter,
counter: m.counter,
gauge: m.gauge,
histogram: m.histogram,
summary: m.summary,
}
}