i tried using the interrupt plugin [[inputs.interrupt]] and set the cpu_as_tag parameter to true in telegraf.
but the plugin didn’t create any measurements as expected.
not only it fails to create a new measurement and populate data into that but after restarting telegraf other measurements also stop getting populated. once i remove this plugin from the configuration file nad restart telegraf again everything goes back to normal.
can anyone please help with this situation?