AWS billing custom metrics plugin for mackerel.io agent
mkr plugin install mackerel-plugin-awsbilling
mackerel-plugin-awsbilling -region=us-east-1 -access-key-id=<id> -secret-access-key=<key>
the credential provided manually or fetched automatically by IAM Role should have the policy that includes an action, 'cloudwatch:GetMetricStatistics'
[plugin.metrics.awsbilling]
command = '/path/to/mackerel-plugin-awsbilling -region=us-east-1'