> Will I run into issues with "staleness" if there aren't any metrics anymore > for (more) than 5 minutes? > Or perhaps can I use this "staleness" indicator in some way?
Perhaps this is a use for absent() or absent_over_time(), if you know specific metrics that should always be present from the push sources (and you know the push sources). It might be possible to craft something clever with 'offset' and 'unless' to filter out metrics that are still present, eg: pushed_metric offset 10m unless pushed_metric I think this will give you every pushed_metric series that was present ten minutes ago and isn't now (because it's stale, since it hasn't been pushed recently enough). This is less clear than an explicit absent(), but means you don't have to statically know the job/instance/etc labels for all push sources that should be there. - cks -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3704008.1708964522%40apps0.cs.toronto.edu.