Skip to content

Commit

Permalink
Introduced metrics to opensearch-py client
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <[email protected]>
  • Loading branch information
saimedhi committed Mar 18, 2024
1 parent 68a1797 commit 217c4f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opensearchpy/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 217c4f5

Please sign in to comment.