Crate mackerel_client [−] [src]
An API client library for Mackerel
Mackerel is a performance monitoring and management tool of servers. This monitoring SaaS provides you the intuitive user interfaces and useful APIs for automated infrastructure foundation.
API documents: Mackerel API Documents (v0)
The official Go client library: mackerel-client-go
Example
⚠Be careful when using this code, it's not being tested!
let client = Client::new("<Mackerel-API-KEY>"); println!("{:?}", client.get_organization()); println!("{:?}", client.list_users()); println!("{:?}", client.list_services()); println!("{:?}", client.list_service_metric_names("<Service-Name>")); println!("{:?}", client.list_monitors()); println!("{:?}", client.delete_monitor("<Monitor-ID>"));
Reexports
pub use client::Client; |
Modules
alert | |
client |
Mackerel API client |
dashboard | |
errors | |
graph_annotation | |
invitation | |
metadata | |
monitor | |
organization | |
role | |
service | |
user |