Commit graph

27 commits

Author SHA1 Message Date
49be2bc1ae Remove usage of error 2025-11-19 12:34:24 +00:00
4d1044bc16 Check the value for metric-set 2025-11-19 12:31:56 +00:00
bf28a0deb9 Improve naming for the gc metrics 2025-11-19 12:31:45 +00:00
e63335e64a Add a process metrics updater 2024-03-22 13:16:29 +00:00
59d19a657c Remove locking in call-with-duration-metric
As I think this is unnecessary.
2024-03-22 10:03:59 +00:00
d0bca34214 Remove reference from metric to the registry
As this is unused, and will allow registering a metric with multiple
registries.
2024-03-22 10:03:27 +00:00
4aaf902eb4 Add get-gc-metrics-updater 2023-11-12 13:39:14 +00:00
c1b8fe176e Export some more values 2023-11-12 13:38:17 +00:00
fbd64347fb Wrap use of mutexes with call-with-blocked-asyncs
As this will hopefully avoid problems with mutexes when using fibers.
2023-11-12 13:37:24 +00:00
35dc26c0ea Add a couple of procedures for generating histogram buckets 2020-12-10 19:50:02 +00:00
0b22a8760c Add the _bucket suffix to metric lines for histograms 2020-12-10 09:52:06 +00:00
9d39235cc8 Avoid race conditions in call-with-duration-metric 2020-12-10 09:43:04 +00:00
f661edf72d Make call-with-duration-metric more precise 2020-12-10 09:23:12 +00:00
68820efcbd Allow passing label-values to call-with-duration-metric 2020-12-10 09:21:43 +00:00
875d9994b0 Fix histogram metrics
Properly write a _sum and _count line, and sort the lines correctly.
2020-12-10 09:21:07 +00:00
2549c482fb Fix issues with outputting values
Ensure numbers are formatted as floats.
2020-12-05 17:52:31 +00:00
7868c83840 Allow passing more options to call-with-duration-metric 2020-12-05 17:52:12 +00:00
6d9f8c57eb Fix metric # TYPE for histograms 2020-12-05 17:50:03 +00:00
fba2005362 Fix call-with-duration-metric to work with multiple values 2020-12-05 17:49:07 +00:00
12d3d9de67 Help with writing textfiles 2020-11-29 09:09:21 +00:00
81d8dda118 Write out the metric type 2020-11-29 08:54:15 +00:00
826704723a Support outputting docstrings 2020-11-29 08:49:46 +00:00
8980f39baf Allow for cross-compilation 2020-10-05 17:17:48 +01:00
cbc6e1b035 Add more information and an example to the README 2020-08-31 19:00:52 +01:00
7752f8f2d3 Add some docstrings 2020-08-31 18:46:32 +01:00
3df4221c47 Automatically add a _ after the namespace
If one is specified. I think this is a more reasonable default
behaviour.
2020-08-31 14:43:01 +01:00
5acbc44d2d Initial commit 2020-08-31 13:38:22 +01:00