What Prometheus metrics are you collecting? For example, do you have a 
metric for the total number of rows in the database? Or do you have a 
metric for the last time a row was inserted? Or some other metric which can 
identify new rows - if so, what?

What is the "previously suggested function"?

We can't really suggest an alerting function without seeing the metrics 
themselves.

On Wednesday 14 February 2024 at 10:16:01 UTC h0ksa wrote:

> Hi all ,
>
>
> I have a dataset with 5000 rows, and my objective is to determine if any 
> new rows have been inserted or created within the last 5 minutes. The 
> previously suggested function may not be suitable because the row count is 
> never expected to drop below 1. Consequently, my focus is on identifying 
> instances where no rows have been created within a 5-minute timeframe. If 
> no new rows are found during this period, I intend to initiate an alert. So 
> which function to use 
> increase()
> delta()
> increase()  or another one .

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/8316ff9a-7aba-4c6c-9c45-06e91d5510d5n%40googlegroups.com.

Reply via email to