-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(SUP-2725) Fix system collection frequency #150
(SUP-2725) Fix system collection frequency #150
Conversation
Prior to this commit, the postgres and vmware classes didn't correctly set the 'minute' parameter of the defined type for collecting metrics. It lacks the "0/" prefix, meaning for a default value of 5 we are performing the collections on the 5th minute, not repeating every 5 minutes. This commit adds the prefix.
puppet_metrics_collector::system::postgres is a classthat may have no external impact to Forge modules. puppet_metrics_collector::system::vmware is a classthat may have no external impact to Forge modules. This module is declared in 0 of 578 indexed public
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add spec tests for the collection_interval to ensure all timers default to the same.
Looks like we have a test for customizing |
Added spec tests for all the timers that we customize via |
This commit adds tests to the puppet_metrics_collector and puppet_metrics_collector::system classes for customizing the collection interval. It also removes the String() casts.
a0fafb8
to
6a3cddb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
resolved #149 |
Prior to this commit, the postgres and vmware classes didn't correctly
set the 'minute' parameter of the defined type for collecting metrics.
They lack the "0/" prefix, meaning for a default value of 5 we are
performing the collections on the 5th minute, not repeating every 5
minutes. This commit adds the prefix.