-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Leverage the inventory control stream to report updater metrics #38654
Conversation
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
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.
Looks good but did we lose all of our test coverage?
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
Reusing the |
@bernardjkim See the table below for backport results.
|
* Leverage the inventory control stream to report updater metrics * Remove periodic instance metrics * Reuse instanceMetricsPeriod
* Leverage the inventory control stream to report updater metrics * Remove periodic instance metrics * Reuse instanceMetricsPeriod
…) (#38832) * Leverage the inventory control stream to report updater metrics * Remove periodic instance metrics * Reuse instanceMetricsPeriod
…) (#38833) * Leverage the inventory control stream to report updater metrics * Remove periodic instance metrics * Reuse instanceMetricsPeriod
This PR modifies how the metrics for
total_instances
,enrolled_in_upgrades
, andupgrader_counts
are collected.The current method of iterating over the instances results in some inconsistent metrics.
Ex: At certain points, one of our Cloud tenants reports ~11000
registered_servers
but ~18000total_instances
. I'm guessing this issue might be due to agents being frequently cycled and the TTL for the list of instances being a little too long.The change iterates over the inventory instead to collect the above metrics. This is the same method that is used to collect the
registered_servers
metrics.changelog: Fixes an issue with over counting of reported Teleport updater metrics