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.
yeah… sorry that’s a typo… that doesn’t exist in the configuration file.
#Gathers metrics about IRQs
[[inputs.interrupts]]
cpu_as_tag = true
##When set to true, cpu metrics are tagged with the cpu. Otherwise cpu is
##stored as a field
that’s how it is written in the configuration file.