diff --git a/bindep.txt b/bindep.txt index ba2ccb4b..9cce56b5 100644 --- a/bindep.txt +++ b/bindep.txt @@ -2,3 +2,4 @@ libxml2-dev [platform:dpkg test] libxslt1-dev [platform:dpkg test] build-essential [platform:dpkg test] zlib1g-dev [platform:dpkg test] +libffi-dev [platform:dpkg test] diff --git a/src/ceph_metrics.py b/src/ceph_metrics.py index 472f8fff..0c320451 100644 --- a/src/ceph_metrics.py +++ b/src/ceph_metrics.py @@ -66,6 +66,7 @@ class CephMetricsEndpointProvider(prometheus_scrape.MetricsEndpointProvider): ) ceph_utils.mgr_enable_module("prometheus") logger.debug("module_enabled") + self.update_alert_rules() super()._on_relation_changed(event) def _on_relation_departed(self, event):