influxdata / telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
https://influxdata.com/telegraf
MIT License
14.69k stars 5.59k forks source link

Add the ability to include AWS instance name as a tag to cloudwatch data #6343

Closed baruchih-amdocs closed 2 years ago

baruchih-amdocs commented 5 years ago

on EC2 service we are not getting the Instance name , We get instance ID which is making it hard to represent in a graph since the viewers will not be able to understand it clearly. Is there an option to config the plugin to get the instance name?

danielnelson commented 5 years ago

I agree this would be very useful. It looks that implementing it would require reading the instance tags and unfortunately this functionality is not provided by the Cloudwatch API, and cannot be done generally across all types of metrics.

I think the right way to approach this is with the processors in https://github.com/influxdata/telegraf/pull/4710, however we need to sort out a solution for allowing processors to work asyncronously without blocking the internal metric flow before we can add these.

baruchih-amdocs commented 5 years ago

Totally agree, Will u put on backlog issues?

danielnelson commented 5 years ago

Yes

sspaink commented 2 years ago

Looks like https://github.com/influxdata/telegraf/pull/8707 might have addressed this, @baruchih-amdocs does the AWS instance name get added now?

telegraf-tiger[bot] commented 2 years ago

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!