Skip to content

Commit 43363e3

Browse files
FangwenDaveshayue-wt
authored andcommitted
monitor patch gc view
1 parent 522e548 commit 43363e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rock/admin/metrics/monitor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from rock import env_vars
1111
from rock.admin.metrics.constants import MetricsConstants
12+
from rock.admin.metrics.gc_view_instrument_match import patch_view_instrument_match
1213
from rock.utils import get_uniagent_endpoint
1314

1415

@@ -21,6 +22,7 @@ def __init__(
2122
role: str = "test",
2223
export_interval_millis: int = 10000,
2324
):
25+
patch_view_instrument_match()
2426
self._init_basic_attributes(host, port, env, role)
2527
self._init_telemetry(export_interval_millis)
2628
self.counters: dict[str, Counter] = {}

0 commit comments

Comments
 (0)