mirror of
https://github.com/wahyd4/telegraf.git
synced 2026-08-21 18:46:07 +10:00
AWS Metadata Processor Plugins
A series of plugins that extract additional metadata from AWS to annotate metrics.
Configuration:
Each processor is scoped to a single AWS service (e.g. EC2, ELB, etc).
The processor plugins each share a common configuration pattern for configuring AWS credentials and basic processing information.
## Common AWS credential configuration
## Amazon Region (required)
region = "us-east-1"
## Amazon Credentials
## Credentials are loaded in the following order
## 1) Assumed credentials via STS if role_arn is specified
## 2) explicit credentials from 'access_key' and 'secret_key'
## 3) shared profile from 'profile'
## 4) environment variables
## 5) shared credentials file
## 6) EC2 Instance Profile
#access_key = ""
#secret_key = ""
#token = ""
#role_arn = ""
#profile = ""
#shared_credential_file = ""
## Common processing configuration
## Specify the TTL for metadata lookups
#cache_ttl = "1h"
## Specify the metric names to annotate with this processor
## By default the processor is configured to process the associated metric name from the Cloudwatch input plugin
#metric_names = [ "cloudwatch_aws_ec2" ]
## Specify the metric tag which contains the AWS resource ID
## By default the plugin is configured to find the resource's ID in the tag created by the Cloudwatch input plugin
#id = "instance_id"
## Plugin specific configuration
## Configure specific annotations available for this processor