Git Product home page Git Product logo

yet-another-aws-exporter's Introduction

YAAE (Yet Another AWS Exporter)

A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover

About

This exporter is meant to expose metrics that aren't included in CloudWatch for Prometheus to scrape. When run in conjuction with a CloudWatch exporter (such as YACE or the Prometheus Community CloudWatch Exporter), this exporter provides increased visbility into your AWS ecosystem.

A full list of scrapers and metrics is found below.

Image

cashapp/yet-another-aws-exporter:<TAG>

Exported Metrics

Features

  • Self-documenting scraper/metric structure architecture
  • All metrics/scrapers can be disabled
  • IAM permissions can be generated off only selected scrapers
  • Internal metrics for tracking error rates and scrape duration
  • Structured JSON logging

Configuration File

YAAE looks for a config file next to the binary yaae binary named yaae.yaml. To pass a custom path to a config file, use the -c flag:

yaae -c /path/to/yaae.yaml

A config file example can be found in the examples directory.

AWS IAM Permissions

This exporter should never require anything more than read-only permissions. If you're running every scraper available, you'll need the following permissions on the role/user that the exporter is running under:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "yaae",
            "Effect": "Allow",
            "Action": [
                "eks:DescribeCluster",
                "eks:ListClusters",
                "ec2:DescribeVpcs",
                "ec2:DescribeSubnets",
                "iam:GetAccountSummary"
            ],
            "Resource": "*"
        }
    ]
}

Not using every exporter? Run yaae scrapers list-iam-permissions -c <PATH TO CONFIG FILE> to generate a new list of permissions.

Contributing

If you're interested in contributing, we'd love the help! See the contributing guidelines for initial details.

yet-another-aws-exporter's People

Contributors

jonwinton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.