linkedin / iris

Iris is a highly configurable and flexible service for paging and messaging.
http://iris.claims
BSD 2-Clause "Simplified" License
813 stars 138 forks source link

check that stats are defined before incrementing role_lookup metrics #683

Closed diegocepedaw closed 2 years ago

diegocepedaw commented 2 years ago

only sender is correctly configured to emit metrics but api also uses role_lookup. Check if oncall_error is defined in stats before incrementing the metric. Eventually we should set up a mechanism for api to allow emitting metrics at is it currently not configured to directly any.