packages feed

kiroku-metrics 0.1.0.1 → 0.1.0.3

raw patch · 3 files changed

+22/−6 lines, 3 filesdep ~kiroku-storedep ~kiroku-test-supportPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: kiroku-store, kiroku-test-support

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,21 @@ # Revision history for kiroku-metrics +## 0.1.0.3 -- 2026-08-09++### Bug Fixes++* Corrected the `kiroku_events_appended_total` Prometheus HELP text: the value+  is the current opaque global position and is not guaranteed to be dense.++### Other Changes++* Requires `kiroku-store ^>=0.4`, whose exported `Store` effect now supports+  durable subscription checkpoint inventory reads. No `kiroku-metrics` API+  changed.+* Added a PVP upper bound to the shipped example's internal+  `kiroku-test-support` dependency. Version 0.1.0.2 was tagged but not+  published after `cabal check` found the missing bound.+ ## 0.1.0.1 -- 2026-07-11  ### Other Changes
kiroku-metrics.cabal view
@@ -1,6 +1,6 @@ cabal-version:   3.0 name:            kiroku-metrics-version:         0.1.0.1+version:         0.1.0.3 synopsis:   Metrics, health, and event-streaming HTTP endpoints for Kiroku @@ -60,7 +60,7 @@     , hasql-pool      >=1.2  && <1.5     , http-types      >=0.12 && <0.13     , kiroku-cli      ^>=0.2-    , kiroku-store    ^>=0.3+    , kiroku-store    ^>=0.4     , stm             >=2.5  && <2.6     , text            >=2.0  && <2.2     , time            >=1.12 && <1.15@@ -102,8 +102,8 @@     , http-client          >=0.7  && <0.8     , http-types           >=0.12 && <0.13     , kiroku-metrics-    , kiroku-store         ^>=0.3-    , kiroku-test-support+    , kiroku-store         ^>=0.4+    , kiroku-test-support  ^>=0.1     , lens                 >=5.2  && <5.4     , scientific           >=0.3  && <0.4     , stm                  >=2.5  && <2.6@@ -137,7 +137,7 @@     , http-types           >=0.12 && <0.13     , kiroku-cli           ^>=0.2     , kiroku-metrics-    , kiroku-store         ^>=0.3+    , kiroku-store         ^>=0.4     , kiroku-test-support     , lens                 >=5.2  && <5.4     , scientific           >=0.3  && <0.4
src/Kiroku/Metrics/Prometheus.hs view
@@ -47,7 +47,7 @@ storeSection :: StoreGauges -> B.Builder storeSection g =     mconcat-        [ metric "kiroku_events_appended_total" "counter" "Total events appended store-wide (gap-free global position)." (g.globalPosition)+        [ metric "kiroku_events_appended_total" "counter" "Current store global position (opaque; not guaranteed dense)." (g.globalPosition)         , metricI "kiroku_active_subscribers" "gauge" "Currently registered subscribers." g.activeSubscribers         , help "kiroku_pool_connections" "Pool connections by state."         , typ "kiroku_pool_connections" "gauge"