Files
Igor SirotinandClaude Opus 4.8 9e6d2f6020 feat: expose node metrics via collectOpenMetricsText() for openmetrics (#55)
* feat: expose node metrics via collectOpenMetricsText() for openmetrics

liblogosdelivery already aggregates Prometheus metrics in its global
registry and renders them as exposition text behind the "Metrics"
node-info attribute. Implement the openmetrics module's new
collectOpenMetricsText() convention (logos-co/openmetrics-module#5) by
handing that text back verbatim — the scraper parses it, injects a
module="delivery_module" label, and merges it with other modules.

No in-module parsing/reshaping: the module is a pure passthrough.
Select it with {"name":"delivery_module","format":"text"} in the
openmetrics start config.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* test: add real-node integration test for collectOpenMetricsText()

Asserts the live liblogosdelivery "Metrics" node-info path returns
non-empty Prometheus/OpenMetrics exposition text — the document the
openmetrics module's text source consumes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 22:19:50 +01:00
..
2026-06-17 10:09:41 -04:00
2026-05-21 13:26:39 -04:00
2026-04-15 17:12:38 -04:00