mirror of
https://github.com/logos-co/logos-messaging-module.git
synced 2026-08-27 10:41:19 +00:00
* 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>