routinator icon indicating copy to clipboard operation
routinator copied to clipboard

routinator_serial_info metric is sparse

Open ties opened this issue 1 year ago • 1 comments

As a publication point operator I want to alert when my repository is not updating. For this I use an alert on the routinator_serial_info metric.

When doing so we sometimes hit a weird interaction between prometheus and this sparse metric, that we have worked around for now with a recording rule.

In practice this metric is sparse (it is empty when notification.xml is not modified). This causes increase alerts to fire (see the attached screenshots).

Expected behaviour: I expect routinator_serial_info to retain the old value when the notification file is not modified.

As discussed in DM with Martin: low priority/low impact, but nice to have.

preview

Screenshot_2024-03-08_at_08 35 46

ties avatar Mar 08 '24 08:03 ties

It’s a low priority/low impact kind of day today, so I just went ahead and fixed it …

partim avatar Mar 08 '24 11:03 partim