For a custom plugin, I am trying to update the collection interval 2 of the metrics (please see image above). The collection interval for 'Number of X for past hour' and 'Number of failed X per past hour' is 30 seconds each which I want to change. I tried updating the rhq-plugin.xml file to new value of "3600000" (1 hour); however, this is not getting updated in the UI. Is this the expected behavior? The only way to get the value I want was to purge the old plugin and re-ingest the new plugin. I also updated all the requirements for new plugin (version update, new timestamp, etc). Other method to update the interval which was successful was via the cli.
Version of RHQ used: 4.7
You can update the collection interval defaults through the RHQ cli.
I don't think the schedule defaults are changed at all when the plugin is updated.