cloudwatch_read_adapter

command module
v0.0.0-...-cd62a18 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

README

cloudwatch_read_adapter

CloudWatch remote read adapter for Prometheus.

Setup

Add following setting to prometheus.yml.

remote_read:
  - url: http://localhost:9415/read

And then, launch read adapter.

./cloudwatch_read_adapter

AWS credentials

This read apadter use AWS SDK for Go, read credentials from Environment variables, IAM role for Amazon EC2, etc. Please read following document.

https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html

Query

Specify CloudWatch GetMetricStatistics parameters as label.

{Region="us-east-1",Namespace="AWS/EC2",MetricName="CPUUtilization",InstanceId="i-0123456789abcdefg",Statistics="Average",Period="300"}

Limitation

Now, this plugin doesn't support regex matcher.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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