chore(stcrashreceiver): metrics on ignore matches

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2026-05-23 08:51:32 +02:00
parent 8a3a06f7ca
commit 33075974cb
3 changed files with 8 additions and 1 deletions
+5
View File
@@ -42,4 +42,9 @@ var (
Subsystem: "crashreceiver",
Name: "sentry_reports_total",
}, []string{"result"})
metricIgnoreMatchesTotal = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: "syncthing",
Subsystem: "crashreceiver",
Name: "ignore_matches_total",
}, []string{"pattern"})
)