AWS EC2 CPU-Credit custom metrics plugin for mackerel.io agent.
mackerel-plugin-aws-ec2-cpucredit [-instance-id=<id>] [-region=<aws-region>] [-access-key-id=<id>] [-secret-access-key==<key>] [-tempfile=<tempfile>]
- if you run on an ec2-instance, you probably don't have to specify
- if you run on an ec2-instance and the instance is associated with an appropriate IAM Role, you probably don't have to specify
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.aws-ec2_cpucredit] command = "/path/to/mackerel-plugin-aws-ec2-cpucredit"
There is no documentation for this package.