Merge pull request 'fix flout counter on clone' (#105) from clonefix into v3

Reviewed-on: #105
This commit is contained in:
Василий Толстов 2023-04-13 20:01:33 +03:00
commit 4e64f3f994

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,
}
}