Перейти к основному содержимому

Get the warn metrics status (enabled or disabled)

GET 

/warn_metrics/status

Get the status of a set of metrics (enabled or disabled) from the Systems table.

The returned JSON contains the metrics that we need to warn the admin on with regard to their status (we return the ones whose status is "true", which means that they are in a "warnable" state - e.g. a threshold has been crossed or some other condition has been fulfilled).

Permissions

Must have manage_system permission.

Responses

Warn metrics retrieval was successful.