项目作者: ClarkSource

项目描述 :
AWS Prometheus exporter
高级语言: Python
项目地址: git://github.com/ClarkSource/aws-exporter.git
创建时间: 2019-12-16T17:43:27Z
项目社区:https://github.com/ClarkSource/aws-exporter

开源协议:ISC License

下载


AWS Prometheus Exporter

CircleCI
PyPi version
PyPi downloads
CLARK Open Source

Prometheus exporter for generic AWS metrics.

Installation

  1. $ git clone git@github.com:ClarkSource/aws-exporter.git
  2. $ cd aws-exporter
  3. $ pip install --user --upgrade .

Usage

Just start the exporter with read only credentials on AWS. This is using boto, so the usual rules for passing credentials apply.

  1. $ aws-exporter

The exporter should be exposed on port 8000

Configuration

AWS_EXPORTER_LOG_LEVEL - [debug,info,warning,error,critical,fatal]

Metrics

AWS Backup

  • aws_backup_job_collector_success
  • aws_backup_job_size_bytes
  • aws_backup_job_percent_done
  • aws_backup_vault_collector_success
  • aws_backup_vault_recovery_points

AWS SNS

  • sns_platform_application_collector_success
  • sns_platform_application_enabled
  • sns_platform_application_cert_expiry

AWS EC2 AMIs

  • ec2_ami_collector_success
  • ec2_ami_creation_date

configuration

AWS_EXPORTER_EC2_AMI_OWNERS - additional AMI owners, comma separated.

AWS EC2 Instances

  • ec2_instance_collector_success
  • ec2_instance_creation_date