Sync with 27579d9e4164f0a4234ae2e472fa7e5c848a8d48

This commit is contained in:
AnimeBytes 2023-04-06 15:19:07 +02:00
parent 2963b7272d
commit 0334976f53
2 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## v10.5.0
### Changed
- Adjust histogram buckets to better capture wider range of data
## v10.4.1
### Fixed
- Load group freeleech during initialization

View file

@ -57,7 +57,7 @@ var (
serializationTime = prometheus.NewHistogram(prometheus.HistogramOpts{
Name: "chihaya_serialization_seconds",
Help: "Histogram of the time taken to serialize database",
Buckets: []float64{.25, .5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5},
Buckets: []float64{2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 8, 10},
})
reloadTime = prometheus.NewHistogramVec(prometheus.HistogramOpts{
Name: "chihaya_reload_seconds",
@ -67,7 +67,7 @@ var (
flushTime = prometheus.NewHistogramVec(prometheus.HistogramOpts{
Name: "chihaya_flush_seconds",
Help: "Histogram of the time taken to flush data from channels to database",
Buckets: []float64{.005, .01, .025, .05, .1, .25, .5, 1},
Buckets: []float64{.01, .025, .05, .1, .25, .5, 1, 1.5, 2, 5},
}, []string{"type"})
torrentFlushBufferLength prometheus.Histogram