Re: [prometheus-users] Re: Metrics from PUSH Consumer - Relabeled Metrics? Check "Up" state?

2024-02-26 Thread Alexander Wilke
Hello, absent_over_time() Looks good. It should allow me to alert If metrics is Not available for 10min. This will not alert If system reboots. If i use a query with Offset I think it would alert only AeS Long as the Offset still hast a value, eg Offset 10m i will get an Alarm For 10m but

Re: [prometheus-users] Re: Metrics from PUSH Consumer - Relabeled Metrics? Check "Up" state?

2024-02-26 Thread Chris Siebenmann
> 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

[prometheus-users] Re: Metrics from PUSH Consumer - Relabeled Metrics? Check "Up" state?

2024-02-26 Thread Alexander Wilke
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? Brian Candler schrieb am Montag, 26. Februar 2024 um 16:15:57 UTC+1: > > I am still looking for a solution to identify if a device

[prometheus-users] Re: Metrics from PUSH Consumer - Relabeled Metrics? Check "Up" state?

2024-02-26 Thread 'Brian Candler' via Prometheus Users
> I am still looking for a solution to identify if a device which uses "PUSH" method is not sending data anmore for e.g. 10 minutes. Push an additional metric which is "last push time", and check when that value is more than 10 minutes earlier than the current time. If you already have a

[prometheus-users] Re: Metrics from PUSH Consumer - Relabeled Metrics? Check "Up" state?

2024-02-26 Thread Alexander Wilke
Hello, I am still looking for a solution to identify if a device which uses "PUSH" method is not sending data anmore for e.g. 10 minutes. The amount of devices is limited at around 20-30. any idea how to check if there are not any new metrics from it? All metrics from these devices sharing the