instrumentation: change slogroup for alerting handlers to high-slow (#75460)

instrumentation: change slogroup for alerting handlers to high-fast

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2023-09-29 14:56:48 +02:00
committed by GitHub
parent fccd262417
commit a39d2ae8ea
8 changed files with 81 additions and 0 deletions
@@ -38,6 +38,7 @@ func (api *API) Register{{classname}}Endpoints(srv {{classname}}, m *metrics.API
group.{{httpMethod}}(
toMacaronPath("{{{path}}}"),
requestmeta.SetOwner(requestmeta.TeamAlerting),
requestmeta.SetSLOGroup(requestmeta.SLOGroupHighSlow),
api.authorize(http.Method{{httpMethod}}, "{{{path}}}"),
metrics.Instrument(
http.Method{{httpMethod}},