For monitoring purposes, we're pulling AWS/EC2 instances statistics data from CloudWatch and save it to InfluxDB.
We're using Telegraf to do this.
However, when pulling the data from Cloudwatch, it doesn't contain the instance tags or env_variables, only the standard instance fields (instance_id, for example)
Is there a way to get this data when pulling the stats? Some other agent? A Lambda function?