Commit Graph

2 Commits

Author SHA1 Message Date
George Robinson cc6de9c666 Remove Id return from silences.Set(*pb.Silence)
This commit removes the Id from the method silences.Set(*pb.Silence)
as it is redundant. The Id is still set even when creating a silence
fails. This will be fixed in a later change.

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-06-20 15:47:49 +01:00
George Robinson 6c70b5c014
Silences: Add benchmarks for Mutes (#3771)
* Add benchmarks for Mutes

This commit updates the existing benchmarks for silences to also
benchmark Mutes. This complements the existing Query benchmarks
by also measuring the time taken to mark silenced alerts.

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-03-21 20:54:56 +00:00