mackerel-client-rs

CI Status MIT licensed crates.io

An API client library for Mackerel written in Rust

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

```rust extern crate mackerelclient; use mackerelclient::*;

fn main() { let client = Client::new("");

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>"));

} ```

Refer to the documentation.

Author

itchyny itchyny@hatena.ne.jp

License

This software is released under the MIT License, see LICENSE.