diff --git a/opensearchpy/metrics.py b/opensearchpy/metrics.py index 3b2f5ccb..e0e695ee 100644 --- a/opensearchpy/metrics.py +++ b/opensearchpy/metrics.py @@ -29,6 +29,7 @@ def request_end(self) -> None: class MetricsEvents(Metrics): def __init__(self) -> None: + super().__init__() self.events = Events() # Subscribe to the request_start and request_end events