-
Improvement: Use different generic parameters for name and help at metric construction (#324).
-
Bug fix: Error instead of panic when constructing histogram with unequal label key and label value length (#326).
-
Bug fix: Return
Error::AlreadyReg
on duplicate collector registration (#333). -
Bug fix: Make Histogram::observe atomic across collects (#314).
-
Internal change: Replace spin with parking_lot (#318).
-
Internal change: Optimize metric formatting (#327).
-
Internal change: Update parking_lot and procfs dependencies (#337).
- Add: Implement
encode
function for summary type metrics.
-
Add: Reset Counters (#261)
-
Add: Discard Histogram timers (#257)
-
Add:
observe_closure_duration
for better observing closure duration for local histogram (#296) -
Fix a bug that global labels are not handled correctly (#269)
-
Improve linear bucket accuracy by avoiding accumulating error (#276)
-
Internal change: Use thiserror to generate the error structure (#285)
-
Internal change: Switch from procinfo to procfs (#290)
-
Internal change: Update to newer dependencies
- Provide immutable interface for local counters.
- Fix compile error when ProtoBuf feature is not enabled (#240).
-
Add: Expose the default registry (#231).
-
Add: Support common namespace prefix and common labels (#233).
- Change: Added TLS and BasicAuthentication support to
push
client.
- Change: Update to use protobuf 2.0.
- Change:
(Local)(Int)Counter.inc_by
only panics in debug build if the given value is < 0 (#168).
-
Add: Provides
IntCounter
,IntCounterVec
,IntGauge
,IntGaugeVec
,LocalIntCounter
,LocalIntCounterVec
for better performance when metric values are all integers (#158). -
Change: When the given value is < 0,
(Local)Counter.inc_by
no longer return errors, instead it will panic (#156). -
Improve performance (#161).