From 4d2bff2bd759552e44884ed32392999b380b1080 Mon Sep 17 00:00:00 2001
From: robot-piglet <robot-piglet@yandex-team.com>
Date: Mon, 23 Dec 2024 17:11:16 +0300
Subject: Intermediate changes
 commit_hash:e95937c5f2c37075ed358ebb01e274fc9ddfcbb6

---
 library/python/monlib/metric_registry.pyx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'library/python/monlib/metric_registry.pyx')

diff --git a/library/python/monlib/metric_registry.pyx b/library/python/monlib/metric_registry.pyx
index aae0a5962a..6ddf64cd78 100644
--- a/library/python/monlib/metric_registry.pyx
+++ b/library/python/monlib/metric_registry.pyx
@@ -264,6 +264,9 @@ cdef class MetricRegistry:
     def reset(self):
         self.__wrapped.Get().Reset()
 
+    def clear(self):
+        self.__wrapped.Get().Clear()
+
     def accept(self, time, Encoder encoder):
         cdef IMetricConsumer* ptr = <IMetricConsumer*>encoder.native()
         timestamp = int((time - dt.datetime(1970, 1, 1)).total_seconds())
-- 
cgit v1.2.3