Commit Graph

10 Commits (0df06647b3f83e7810859ad46b35c03309d6b91d)

Author SHA1 Message Date
Jef Roosens bf1385ee6d
feat: only store bucket values for histogram
The previous implementation stored every single recorded value, causing
massive memory usage over time.
2023-01-28 17:21:59 +01:00
Jef Roosens 116b85e039
refactor: make Gauge own struct 2023-01-28 16:25:55 +01:00
Jef Roosens a744c02df4 refactor: simplify design; create metrics on first use 2022-12-27 09:03:41 +01:00
Jef Roosens 80de5ba437 feat: add initial prometheus exporter 2022-12-26 21:49:07 +01:00
Jef Roosens 52fbf8ce5d feat: added gauge type & some tests 2022-12-26 18:17:27 +01:00
Jef Roosens a1049943a4 feat: working tests; stuff 2022-12-26 15:03:57 +01:00
Jef Roosens 7f6327b01a feat: add NullCollector 2022-12-26 14:32:19 +01:00
Jef Roosens ab065681aa feat: add histogram_add; update interface 2022-12-26 14:27:43 +01:00
Jef Roosens 50be02f4a2 feat: add histograms; fix possible bugs 2022-12-26 14:18:31 +01:00
Jef Roosens d20e5c4553
feat: add counters 2022-12-26 13:31:50 +01:00