Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 589eb1e

Browse files
author
David Robertson
committed
Adjust metric names
1 parent 28d940e commit 589eb1e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

synapse/state/__init__.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -445,18 +445,12 @@ class _StateResMetrics:
445445
)
446446

447447
_cpu_times = Histogram(
448-
"cpu",
448+
"synapse_state_res_cpu_for_all_rooms_seconds",
449449
"CPU time (utime+stime) spent computing a single state resolution",
450-
namespace="synapse",
451-
subsystem="state_res",
452-
unit="seconds",
453450
)
454451
_db_times = Histogram(
455-
"db",
452+
"synapse_state_res_db_for_all_rooms_seconds",
456453
"Database time spent computing a single state resolution",
457-
namespace="synapse",
458-
subsystem="state_res",
459-
unit="seconds",
460454
)
461455

462456

0 commit comments

Comments
 (0)