Commit Graph

17 Commits (0df06647b3f83e7810859ad46b35c03309d6b91d)

Author SHA1 Message Date
Jef Roosens 0df06647b3
fix: i'm dumb 2023-01-28 17:33:48 +01:00
Jef Roosens ae2eeeb974
fix: add buckets_set function to interface 2023-01-28 17:32:57 +01:00
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 08d95965af
feat: output +Inf bucket 2023-01-04 10:31:48 +01:00
Jef Roosens 7e39051c1f
feat: exporter name prefix & custom metric serialisation 2023-01-04 09:07:45 +01:00
Jef Roosens 23d384989e fix: remove compilation error 2022-12-30 09:55:39 +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 8fbad5d673 chore: added README 2022-12-26 18:32:29 +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
Jef Roosens 8f267b0ffc Initial commit 2022-12-26 12:18:34 +01:00