cloudstack/plugins
Ben 3e8c0684ed
Prometheus: Ensure tagged hosts maintenance status is reported consistently (#7471)
When a host is not tagged, its maintenance status is reported in the
cloudstack_hosts_total metric: maintenance_enabled is OFFLINE,
maintenance_disabled is ONLINE.

When a host is tagged, its maintenance status is now also verified to
ensure consistent behaviour.

In prometheus exporter, maintenance status for cloudstack_hosts_total_by_tag is not checked. While it is checked for cloudstack_hosts_total metric.
Classified by_tag or not, metrics should be the same.

Fixes: #7470
2023-05-23 11:14:43 +05:30
..
acl Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
affinity-group-processors Updating pom.xml version numbers for release 4.19.0.0-SNAPSHOT 2023-03-15 19:46:01 +01:00
alert-handlers Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
api Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
backup Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
ca/root-ca Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
database Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
dedicated-resources Updating pom.xml version numbers for release 4.19.0.0-SNAPSHOT 2023-03-15 19:46:01 +01:00
deployment-planners Updating pom.xml version numbers for release 4.19.0.0-SNAPSHOT 2023-03-15 19:46:01 +01:00
event-bus Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
ha-planners/skip-heurestics Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
host-allocators/random Updating pom.xml version numbers for release 4.19.0.0-SNAPSHOT 2023-03-15 19:46:01 +01:00
hypervisors misc: fix spelling (#7206) 2023-05-23 11:06:16 +05:30
integrations Prometheus: Ensure tagged hosts maintenance status is reported consistently (#7471) 2023-05-23 11:14:43 +05:30
metrics Merge remote-tracking branch 'origin/4.18' 2023-04-14 21:49:12 +05:30
network-elements Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
outofbandmanagement-drivers Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
shutdown Feature: Safely shutdown cloudstack (#6755) 2023-04-12 12:44:14 +02:00
storage Add three more `pre-commit` checks (#7083) 2023-03-27 13:28:55 +02:00
storage-allocators/random Updating pom.xml version numbers for release 4.19.0.0-SNAPSHOT 2023-03-15 19:46:01 +01:00
user-authenticators Merge remote-tracking branch 'apache/4.18' into main 2023-04-04 16:10:12 +05:30
user-two-factor-authenticators Updating pom.xml version numbers for release 4.19.0.0-SNAPSHOT 2023-03-15 19:46:01 +01:00
pom.xml Feature: Safely shutdown cloudstack (#6755) 2023-04-12 12:44:14 +02:00