-
Notifications
You must be signed in to change notification settings - Fork 72
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
ShimShtein
wants to merge
13
commits into
theforeman:master
Choose a base branch
from
ShimShtein:add_usage_reports
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Add usage reports #928
Commits on Sep 17, 2024
-
Allow report generating in the foreman-maintain
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.
Configuration menu - View commit details
-
Copy full SHA for 5621cc0 - Browse repository at this point
Copy the full SHA 5621cc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6122018 - Browse repository at this point
Copy the full SHA 6122018View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448adbb - Browse repository at this point
Copy the full SHA 448adbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74212e5 - Browse repository at this point
Copy the full SHA 74212e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e45b7b1 - Browse repository at this point
Copy the full SHA e45b7b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e99664c - Browse repository at this point
Copy the full SHA e99664cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc5f054 - Browse repository at this point
Copy the full SHA fc5f054View commit details -
Introduce ReportCheck subtype used only for reporting purpose
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.
Configuration menu - View commit details
-
Copy full SHA for 484f252 - Browse repository at this point
Copy the full SHA 484f252View commit details -
Extract Reports as a new entity
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.
Configuration menu - View commit details
-
Copy full SHA for 73f4ace - Browse repository at this point
Copy the full SHA 73f4aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for b10c935 - Browse repository at this point
Copy the full SHA b10c935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2688ded - Browse repository at this point
Copy the full SHA 2688dedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3287cd4 - Browse repository at this point
Copy the full SHA 3287cd4View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 23c7456 - Browse repository at this point
Copy the full SHA 23c7456View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.