sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.02k stars 176 forks source link

Add --strip-networks flag to sensu-agent #4787

Open echlebek opened 2 years ago

echlebek commented 2 years ago

We'd like to add a way to disable sending network information from sensu-agent to sensu-backend. The network information sent by sensu-agent can be quite lengthy, and in high volume monitoring environments, where each agent has many virtual network addresses, this can become a performance bottleneck.

Add a new boolean configuration option, --strip-networks, to sensu-agent, which works via the CLI, environment variables, and configuration file. When the option is enabled, sensu-agent should avoid collecting information for the system.networks property in the agent entity state.

ManishaKumari295 commented 6 months ago

The ticket is already worked on - https://github.com/sensu/sensu-go/pull/4941 . Hence this ticket can be closed i guess.