#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

#7 in #exporter

Download history 1510/week @ 2023-10-24 1247/week @ 2023-10-31 1169/week @ 2023-11-07 1345/week @ 2023-11-14 1052/week @ 2023-11-21 1459/week @ 2023-11-28 925/week @ 2023-12-05 920/week @ 2023-12-12 938/week @ 2023-12-19 1950/week @ 2023-12-26 695/week @ 2024-01-02 744/week @ 2024-01-09 910/week @ 2024-01-16 757/week @ 2024-01-23 1235/week @ 2024-01-30 643/week @ 2024-02-06

3,668 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
~155K SLoC