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 13 commits into
base: master
Choose a base branch
from
Draft

Conversation

ShimShtein
Copy link
Member

No description provided.

ares and others added 13 commits September 17, 2024 12:05
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
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.

3 participants