yhidetoshi / mackerel-plugin-awsbilling

Mackerel-Plugin: AWSのBillingメトリクスを投稿するプラグインを作った

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status MIT License

mackerel-plugin-awsbilling

AWS billing custom metrics plugin for mackerel.io agent

Install

mkr plugin install mackerel-plugin-awsbilling

Synopsis

mackerel-plugin-awsbilling -region=us-east-1 -access-key-id=<id> -secret-access-key=<key>

AWS IAM Policy

the credential provided manually or fetched automatically by IAM Role should have the policy that includes an action, 'cloudwatch:GetMetricStatistics'

Example of mackerel-agent.conf

[plugin.metrics.awsbilling]
command = '/path/to/mackerel-plugin-awsbilling -region=us-east-1'

About

Mackerel-Plugin: AWSのBillingメトリクスを投稿するプラグインを作った

License:MIT License


Languages

Language:Go 89.0%Language:Shell 6.3%Language:Makefile 4.7%