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{ return &prometheusMeter{
set: m.set, set: m.set,
opts: options, opts: options,
counter: m.counter, floatCounter: m.floatCounter,
gauge: m.gauge, counter: m.counter,
histogram: m.histogram, gauge: m.gauge,
summary: m.summary, histogram: m.histogram,
summary: m.summary,
} }
} }