Use Prometheus alerts (not queries) to determine cluster status

Description

Modify how cluster status is retrieved by this function: https://github.com/cloudify-cosmo/cloudify-manager/blob/380c3322d679a4f3508e59d41b8af70af21cbcdd/rest-service/manager_rest/cluster_status_manager.py#L265.

Instead of querying Prometheus for particular metrics, use alerts to determine cluster's status.

Assignee

Unassigned

Reporter

Mateusz Neumann

Labels

Target Version

5.2

Premium Only

no

Release Notes

yes

Priority

None

Why Blocked?

None

Priority

Unprioritized
Configure