command
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Sep 3, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
CloudWatch Exporter
![CLA assistant](https://cla-assistant.io/readme/badge/percona/rds_exporter)
An AWS CloudWatch exporter for Prometheus coded in Go, with multi-region and dynamic target support.
Based on Technofy/cloudwatch_exporter.
create config file
instances:
- region: us-east-1
instance: rds-aurora1
type: aurora_mysql
aws_access_key: ACCESS-KEY-HERE
aws_secret_key: SECRET-KEY-HERE
- region: us-east-1
instance: rds-mysql57
type: aurora_mysql
aws_access_key: ACCESS-KEY-HERE
aws_secret_key: SECRET-KEY-HERE
How to run
rds_exporter --config.file=path/to/config.yml --web.listen-address=127.0.0.1:9042
global:
scrape_interval: 1m
scrape_timeout: 10s
evaluation_interval: 1m
scrape_configs:
- job_name: rds-basic
honor_labels: true
scrape_interval: 1m
scrape_timeout: 55s
metrics_path: /basic
static_configs:
- targets:
- 127.0.0.1:9042
labels:
aws_region: us-east-1
instance: rds-aurora1
- targets:
- 127.0.0.1:9042
labels:
aws_region: us-east-1
instance: rds-mysql57
- job_name: rds-enhanced
honor_labels: true
scrape_interval: 10s
scrape_timeout: 9s
metrics_path: /enhanced
static_configs:
- targets:
- 127.0.0.1:9042
labels:
aws_region: us-east-1
instance: rds-aurora1
- targets:
- 127.0.0.1:9042
labels:
aws_region: us-east-1
instance: rds-mysql57
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Code generated by go generate; DO NOT EDIT.
|
Code generated by go generate; DO NOT EDIT. |
generate
The following directive is necessary to make the package coherent: This program generates metrics.go.
|
The following directive is necessary to make the package coherent: This program generates metrics.go. |
|
|
Code generated by go generate; DO NOT EDIT.
|
Code generated by go generate; DO NOT EDIT. |
generate
The following directive is necessary to make the package coherent: This program generates metrics.go.
|
The following directive is necessary to make the package coherent: This program generates metrics.go. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.