mackerel-plugin-aws-rds

command
v0.72.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

mackerel-plugin-aws-rds

AWS RDS custom metrics plugin for mackerel.io agent.

Synopsis

mackerel-plugin-aws-rds -identifier=<db-instance-identifer> [-region=<aws-region>] [-access-key-id=<id>] [-secret-access-key=<key>] [-tempfile=<tempfile>] [-engine=<engine>] [-metric-key-prefix=<prefix>] [-metric-label-prefix=<label-prefix>]
  • if you run on an ec2-instance, you probably don't have to specify -region
  • if you run on an ec2-instance and the instance is associated with an appropriate IAM Role, you probably don't have to specify -access-key-id & -secret-access-key
  • select -engine from below:
    • aurora-mysql or aurora
    • aurora-postgresql
    • mariadb
    • mysql
    • postgresql

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-rds]
command = "/path/to/mackerel-plugin-aws-rds -identifier=mysql01 -engine=mysql"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL