Skip to content

mtanda/rds_enhanced_monitoring_exporter

Repository files navigation

RDS Enhanced Monitoring Exporter for Prometheus

Export RDS Enhanced Monitoring Metrics.

Getting Started

To run it:

./rds_enhanced_monitoring_exporter [flags]

Help on flags:

./rds_enhanced_monitoring_exporter --help

Usage

AWS IAM

Allow following API call for this exporter.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "logs:DescribeLogStreams",
                "logs:GetLogEvents"
            ],
            "Resource": [
                "arn:aws:logs:*:*:RDSOSMetrics",
                "arn:aws:logs:*:*:log-group:RDSOSMetrics:log-stream:*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "rds:DescribeDBInstances",
                "rds:DescribeDBClusters",
                "tag:getResources"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

Building

make

License

Apache License 2.0, see LICENSE.