pub struct MutationDecisionCounters {
pub write_property: MutationServiceCounters,
pub write_property_multiple: MutationServiceCounters,
pub create_object: MutationServiceCounters,
pub delete_object: MutationServiceCounters,
pub add_list_element: MutationServiceCounters,
pub remove_list_element: MutationServiceCounters,
pub atomic_write_file: MutationServiceCounters,
pub subscribe_cov: MutationServiceCounters,
pub subscribe_cov_property: MutationServiceCounters,
pub subscribe_cov_property_multiple: MutationServiceCounters,
pub write_group: MutationServiceCounters,
}Expand description
Fixed-shape local telemetry, not a durable audit log; no source history is retained.
New servers start at zero. Each field is independently sampled and saturates at
u64::MAX, so snapshots are not atomic aggregates. Counters never affect policy.
WPM counts each element reaching its gate, not requests or an unvisited suffix,
even one the policy was asked about ahead of the handler (#1321, #2032).
An element whose object appeared between that ahead pass and the writes,
so the policy never saw it, is denied and counted in deny_total.
Pre-gate failures and duplicates do not count. In permissive mode without
a policy, a decision allows without decoding, so a later handler failure still counts.
An inbound WriteGroup counts once per Channel write it would make.
Fields§
§write_property: MutationServiceCountersWriteProperty decisions.
write_property_multiple: MutationServiceCountersWritePropertyMultiple element decisions.
create_object: MutationServiceCountersCreateObject decisions.
delete_object: MutationServiceCountersDeleteObject decisions.
add_list_element: MutationServiceCountersAddListElement decisions.
remove_list_element: MutationServiceCountersRemoveListElement decisions.
atomic_write_file: MutationServiceCountersAtomicWriteFile decisions.
subscribe_cov: MutationServiceCountersSubscribeCOV decisions, including cancellation and renewal.
subscribe_cov_property: MutationServiceCountersSubscribeCOVProperty decisions, including cancellation and renewal.
subscribe_cov_property_multiple: MutationServiceCountersSubscribeCOVPropertyMultiple whole-request decisions.
write_group: MutationServiceCountersDecisions on the Channel writes inbound WriteGroups would make.