prometheus-parse
Simple but effective Rust parser for the Prometheus scrape format.
let body = get?
.text?;
let lines: = body.lines.map.collect;
let metrics = parse?;
Attribution
This crate is 99.99% lifted from prometheus-scrape with some minor API changes and a GitHub repo to encourage PRs.
License
Apache License 2.0 - same as original project