aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/stats/set_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/stat: rename package name to singular formDmitry Vyukov2024-07-241-219/+0
| | | | | | | | Go package names should generally be singular form: https://go.dev/blog/package-names https://rakyll.org/style-packages https://groups.google.com/g/golang-nuts/c/buBwLar1gNw
* pkg/stats: rename Create to NewDmitry Vyukov2024-07-241-12/+12
| | | | | | New is more idiomatic name and is shorter (lines where stats.Create is used are usually long, so making them a bit shorter is good).
* all: use VividCortex/gohistogramTaras Madan2024-06-171-1/+1
|
* all: refactor statsDmitry Vyukov2024-04-091-0/+219
Add ability for each package to create and export own stats. Each stat is self-contained, describes how it should be presented, and there is not need to copy them from one package to another. Stats also keep historical data and allow building graphs over time.