1 unstable release
0.1.0 | Jul 21, 2022 |
---|
#157 in #send
8KB
130 lines
Umami Metric for Rust
A Rust library for sending metrics events to an instance of https://umami.is/
Basic Example
let umami = Umami::new(
"website_id".to_string(),
"https://umami_instance.com".to_string(),
);
let res = umami.pageview(
"/".to_string(),
"click".to_string(),
"eee".to_string(),
"tets".to_string(),
"asdfasdfasfd".to_string(),
).await;
let res = umami.event(
"/".to_string(),
"click".to_string(),
"eee".to_string(),
"tets".to_string(),
"asdfasdfasfd".to_string(),
"asdfasdf".to_string(),
).await;
Dependencies
~4–16MB
~223K SLoC