Ability to set or customize process_name for procstat process
It looks like the procstat plugin for the amazon cloudwatch agent is getting the process name from /proc/<pid>/status which isn't helpful in many cases. For example, if a command is called with bundle exec the Name will just show bundle. In my case, using /proc/<pid>/cmdline is much more helpful. I tried using process_name in my config just like the telegraf procstat plugin but it doesn't like it and won't use it. Is telegraf being used underneath? Would it be possible to enable the ability to set process_name?
@summera, did you find a workaround for this?
I did not, unfortunately.
Closing this issue or pull request in advance of archiving this repo. For more information about the decision to archive this repo (and others in the 'awsdocs' org), see the announcement on the AWS News Blog.