Skip to content
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

Add usage reports #928

Draft
wants to merge 113 commits into
base: master
Choose a base branch
from
Draft

Conversation

ShimShtein
Copy link
Member

No description provided.

ares and others added 14 commits May 23, 2024 13:33
This extends the check so it can hold any arbitrary data. That is then
used in the generate report command, that finds all checks tagged with
report tag, executes them and gather their data for the final YAML
creation.

This commit also includes two examples of metrics that uses database as
the Data source.
With this new child class, report checks can share helpers easily. Also
the parent Check class, which is used elsewhere, does not need to be
extended by the data storage.
Earlier, all Reports were also considered Checks, so they showed up in
health checks. This change now fully isolates Reports and Checks while
all the code is shared.
@ShimShtein ShimShtein marked this pull request as draft September 18, 2024 15:23
ehelms and others added 29 commits October 6, 2024 09:12
optionally allow waiting for them to complete
this ensures more consistent on-disk data
In 5c2a705 the logic was broken from
"managed cron and not (downstream older than 6.3)" to "managed cron and downstream"

Fixes: 5c2a705
the procedures are already confined via `for_feature :cron`
the feature is already confined to that option being true
This parameter is no longer used by the upgrade runner as it is
defined internally by the scenarios.
otherwise it is present on Foreman setups and might break things
It's not really a restart, as we can't control it, but it checks the DB
and returns the status properly.

Fixes: 7cdffe7
this can e.g. happen when the CLI is badly set up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants