cloudwatch-exporter

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

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

README

Experimental Cloudwatch Exporter Bulk

This exporter is intended for bulk import of cloudwatch metrics.

Usage

localhost:9106/metrics//[][?opt=val]

The exporter by default listens on port 9106 and returns all cloudwatch metrics for the given Namespace and MetricName. If MetricName is omitted, return all metrics for the Namespace.

Example:

curl localhost:9106/metrics/AWS/EC2/NetworkIn

Additional url parameters are supported:

  • stat: Statistics to retrieve, values can include Sum, SampleCount, Minimum, Maximum, Average.
  • delay: The newest data to request. Used to avoid collecting data that has not fully converged. Defaults to 600s.
  • range: How far back to request data for. Useful for cases such as Billing metrics that are only set every few hours. Defaults to 600s.
  • period: Period to request the metric for. Only the most recent data point is used. Defaults to 60s.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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