Crate mackerel_client

Source
Expand description

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

use mackerel_client::*;

let client = Client::new("<Mackerel-API-KEY>");

println!("{:?}", client.get_organization().await);
println!("{:?}", client.list_users().await);
println!("{:?}", client.list_invitations().await);

println!("{:?}", client.list_services().await);
println!("{:?}", client.list_service_metric_names("<Service-Name>").await);

println!("{:?}", client.list_monitors().await);
println!("{:?}", client.delete_monitor("<Monitor-ID>").await);

Modules§

alert
alert_group_setting
aws_integration
channel
check_report
client
Mackerel API client
dashboard
downtime
entity
error
graph_annotation
graph_definition
host
invitation
metadata
metric
monitor
notification_group
organization
role
service
user

Structs§

Client
An API client for Mackerel.

Enums§

Error
Error represents the error type of the library.