1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
|
# Changelog
## 0.13.4
- Improvement: Add PullingGauge (#405)
- Improvement: Let cargo know which example requires which features (#511)
- Bug fix: Prevent `clippy::ignored_unit_patterns` in macro expansions (#497)
- Internal change: Add CI job for minimum toolchain (MSRV) (#467)
- Internal change: Update CI to `actions/checkout@v4` (#499)
- Internal change: Update dependencies
## 0.13.3
- Bug fix: Prevent ProcessCollector underflow with CPU time counter (#465)
- Internal change: Update dependencies
## 0.13.2
- Bug fix: Fix compilation on 32-bit targets (#446)
## 0.13.1
- Improvement: ProcessCollector use IntGauge to provide better performance (#430)
- Bug fix: Fix re-export of TEXT_FORMAT to not require protobuf (#416)
- Bug fix: Fix doc for encode (#433)
- Bug fix: Fix broken doc links (#426)
- Bug fix: Fix crates.io badge (#436)
- Internal change: Derive default instead of obvious manual impl (#437)
- Internal change: Remove needless borrow (#427)
- Internal change: Update dependencies
## 0.13.0
- Bug fix: Avoid panics from `Instant::elapsed` (#406)
- Improvement: Allow trailing comma on macros (#390)
- Improvement: Add macros for custom registry (#396)
- Improvement: Export thread count from `process_collector` (#401)
- Improvement: Add convenience TextEncoder functions to encode directly to string (#402)
- Internal change: Clean up the use of macro_use and extern crate (#398)
- Internal change: Update dependencies
## 0.12.0
- Improvement: Fix format string in panic!() calls (#391)
- Improvement: Replace regex with memchr (#385)
- Improvement: Update reqwest requirement from ^0.10 to ^0.11 (#379)
## 0.11.0
- Improvement: Switch to more efficient `fd_count()` for `process_open_fds` (#357).
- API change: Change Integer Counter type from AtomicI64 to AtomicU64 (#365).
- Internal change: Update dependencies.
## 0.10.0
- 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).
## 0.9.0
- Add: Implement `encode` function for summary type metrics.
## 0.8.0
- 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](https://docs.rs/thiserror) to generate the error structure (#285)
- Internal change: Switch from procinfo to [procfs](https://docs.rs/procfs) (#290)
- Internal change: Update to newer dependencies
## 0.7.0
- Provide immutable interface for local counters.
## 0.6.1
- Fix compile error when ProtoBuf feature is not enabled (#240).
## 0.6.0
- Add: Expose the default registry (#231).
- Add: Support common namespace prefix and common labels (#233).
## 0.5.0
- Change: Added TLS and BasicAuthentication support to `push` client.
## 0.4.2
- Change: Update to use protobuf 2.0.
## 0.4.1
- Change: `(Local)(Int)Counter.inc_by` only panics in debug build if the given value is < 0 (#168).
## 0.4.0
- 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).
|