I would like to add IP address along with hostname for all metrics collected by plugings/inputs/system .
- I was unable to find the code that adds hostname tag , where is it done ?
- Any suggestions on how to add ipaddress tag ?
I would like to add IP address along with hostname for all metrics collected by plugings/inputs/system .
The host tag is configured in the agent section of the configuration file, but you probably want to add ipaddress using the global tags. The easiest way is to add it to an environment variable like the $USER example.