#metrics #monitoring #http #renderer #thread #json #self-meter

self-meter-http

A http renderer for self-meter crate, easily pluggable into tokio-based, or tk-http-based. May be plugged in any other application using separate thread.

8 unstable releases (3 breaking)

Uses old Rust 2015

0.4.1 Aug 26, 2017
0.4.0 Aug 16, 2017
0.3.0 May 24, 2017
0.2.2 May 24, 2017
0.1.1 Mar 24, 2017

#181 in #renderer

Download history 5/week @ 2024-07-24 4/week @ 2024-07-31 1/week @ 2024-08-21 2/week @ 2024-08-28 1/week @ 2024-09-18 3/week @ 2024-09-25 3/week @ 2024-10-02

53 downloads per month
Used in 2 crates

MIT/Apache

11KB
165 lines

Self-meter HTTP Renderer

Status:Alpha
Documentation:http://docs.rs/self-meter-http/

This crate gets data from self-meter crate and renders it in a HTTP response in as a JSON using tk-http crate.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

HTTP/tokio handler for self-meter crate

Dependencies

~10MB
~191K SLoC