I tried to disable some metrics in Infrastructure (on EC2 hosts with Debian), but I can’t find a way to do it.
First, I follow settings on https://github.com/newrelic/infrastructure-agent/blob/master/assets/examples/infrastructure/newrelic-infra-template.yml.example and set
-1. I expected to see a fall in ingested data, but after restarting the agent it doesn’t.
Then I tried, to disable all metrics with theses settings in /var/newrelic-infra.yml
license_key: <licence> enable_process_metrics: false disable_all_plugins: true
I expected to see no data ingested, but this doesn’t seem to apply.
The only way I found to reduce the footprint is to disable the agent (just to validate that this agent is responsible for the data sent).
Is there a way to find why my settings are not applied ? Or did I misunderstand their purpose?