diff --git a/src/charm.py b/src/charm.py index 0bb321f..f45794e 100755 --- a/src/charm.py +++ b/src/charm.py @@ -103,6 +103,7 @@ def __init__(self, *args): ) self._amf_metrics_endpoint = MetricsEndpointProvider( self, + refresh_event=[self.on.update_status], jobs=[ { "static_configs": [{"targets": [f"*:{PROMETHEUS_PORT}"]}],