1
0
mirror of https://github.com/go-kit/kit.git synced 2025-07-17 01:12:38 +02:00

8 Commits

Author SHA1 Message Date
abd72ba989 Fix unnecessary calls to Printf 2021-08-19 23:01:43 +02:00
439c4d2ed3 metrics/generic: fix uint64 alignment (#1007)
* fix: uint64 alignment in metrics/generic

* test: adds a weak test on atomic alignment.
2020-09-15 16:35:03 +02:00
839f59899c metrics/generic: With should track Name
Closes #455
2017-02-09 22:05:17 -05:00
32d7a0b430 Added Gauge.Add 2017-01-10 22:04:12 +00:00
f2e95e8236 metrics/generic: make VividCortex/gohistogram safe 2017-01-10 09:20:28 +01:00
4fd567d40c fix(generic.go): add defer to ApproximateMovingAverage mutext
Currently there is a `h.mtx.RLock()` following by `h.mtx.RUnlock()`, the unlock should be a defer `defer h.mtx.RUnlock()`
2016-11-13 23:37:49 -06:00
8114e4a6e6 metrics: cleanup 2016-08-17 22:28:06 +01:00
8cce994f81 mv metrics3 metrics 2016-08-17 22:28:06 +01:00