You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. @check decorator only works when the check is wrapped by another function which provides the basic response dict ({"check": _decorated_func()}). It would be nice if @check supported being the top-level check function.
Describe the solution you'd like
I'd like to be able to define a custom check like this:
Is your feature request related to a problem? Please describe.
@check
decorator only works when the check is wrapped by another function which provides the basic response dict ({"check": _decorated_func()}
). It would be nice if@check
supported being the top-level check function.Describe the solution you'd like
I'd like to be able to define a custom check like this:
This decorator is used by the checks which watchman provides as well, so it will need to handle multiple cases:
email
andstorage
databases
andcaches
The
response
structure of existing checks should not change (eg.databases
should not be renamed tocheck_databases
or similar).Describe alternatives you've considered
Documentation and examples:
Additional context
The text was updated successfully, but these errors were encountered: