feat(metrics): support arbitrary event tags and enhance monitoring coverage

Enable key-value metadata for events to track dry-run status and introduce new monitoring events for rate controller failure states.
This commit is contained in:
Nils Andreas Svee committed 2026-04-14 01:45:07 +07:00
1 parent 60e7ffc9e7
commit f8976a78a2
5 files changed
+27 -4

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ impl ReflectorSelector {
name: "reflector_selection",
reason: if triggered { "triggered" } else { "timeout" },
reflector: None,
tags: &[],
});
// After 40 reselections, slow down to every 15 minutes
@@ -131,6 +132,7 @@ impl ReflectorSelector {
name: "reflector_selected",
reason: "",
reflector: Some(peer),
tags: &[],
});
}