mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Comment
This commit is contained in:
parent
3f49e131d9
commit
e70287cff3
@ -52,12 +52,19 @@ persist_event_counter = metrics.register_counter("persisted_events")
|
|||||||
event_counter = metrics.register_counter(
|
event_counter = metrics.register_counter(
|
||||||
"persisted_events_sep", labels=["type", "origin_type", "origin_entity"]
|
"persisted_events_sep", labels=["type", "origin_type", "origin_entity"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# The number of times we are recalculating the current state
|
||||||
state_delta_counter = metrics.register_counter(
|
state_delta_counter = metrics.register_counter(
|
||||||
"state_delta",
|
"state_delta",
|
||||||
)
|
)
|
||||||
|
# The number of times we are recalculating state when there is only a
|
||||||
|
# single forward extremity
|
||||||
state_delta_single_event_counter = metrics.register_counter(
|
state_delta_single_event_counter = metrics.register_counter(
|
||||||
"state_delta_single_event",
|
"state_delta_single_event",
|
||||||
)
|
)
|
||||||
|
# The number of times we are reculating state when we could have resonably
|
||||||
|
# calculated the delta when we calculated the state for an event we were
|
||||||
|
# persisting.
|
||||||
state_delta_reuse_delta_counter = metrics.register_counter(
|
state_delta_reuse_delta_counter = metrics.register_counter(
|
||||||
"state_delta_reuse_delta",
|
"state_delta_reuse_delta",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user