Commit 9e60f4e
committed
Remove scales dependency with self-contained metrics implementation
The scales library had its last release in 2015 and was only tested on
Python 2.7/3.3. This change replaces it with a self-contained metrics
implementation that provides the same functionality:
- IntStat: Thread-safe integer counter
- PmfStat: Percentile/distribution statistics with reservoir sampling
- Stat: Gauge statistics with callable evaluation
- StatsCollection: Named collections of statistics
- Global registry for metrics access via getStats()
The new implementation maintains API compatibility with the existing
metrics interface used by the driver.
Fixes #6651 parent 21f0ff4 commit 9e60f4e
8 files changed
Lines changed: 639 additions & 68 deletions
File tree
- benchmarks
- cassandra
- docs
- examples
- tests
- integration/standard
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments