#metrics-exporter #metrics #exporter #http #metrics-core

metrics-exporter-http

A metrics-core compatible exporter for serving metrics over HTTP

4 releases (2 breaking)

0.3.0 Jan 22, 2020
0.2.0 Jul 30, 2019
0.1.2 Jun 11, 2019
0.1.0 May 6, 2019

#45 in #metrics-exporter

Download history 389/week @ 2024-09-24 308/week @ 2024-10-01 259/week @ 2024-10-08 545/week @ 2024-10-15 359/week @ 2024-10-22 486/week @ 2024-10-29 212/week @ 2024-11-05 264/week @ 2024-11-12 900/week @ 2024-11-19 644/week @ 2024-11-26 603/week @ 2024-12-03 328/week @ 2024-12-10 370/week @ 2024-12-17 380/week @ 2024-12-24 510/week @ 2024-12-31 931/week @ 2025-01-07

2,249 downloads per month
Used in 2 crates

MIT license

19KB
236 lines

metrics-exporter-http

conduct-badge downloads-badge release-badge docs-badge license-badge

metrics-exporter-http is a metrics-core compatible exporter for serving metrics over HTTP.

code of conduct

NOTE: All conversations and contributions to this project shall adhere to the Code of Conduct.


lib.rs:

Exports metrics over HTTP.

This exporter can utilize observers that are able to be converted to a textual representation via Drain<String>. It will respond to any requests, regardless of the method or path.

Awaiting on async_run will drive an HTTP server listening on the configured address.

Dependencies

~9MB
~156K SLoC