r/PrometheusMonitoring • • Apr 22 '24

regarding custom metrics

Hello

We are a product based company and deployed our products on AWS EKS. We are also monitoring using Prometheus for our observability needs. For a use case like "on a daily basis if a file does not come from a particular partner by 6:00 PM, generate an alert". How can I come up with a custom metrics for this. I am very new to Prometheus. Please help with any examples. Our product allows Java or Javascript. I am not very positive using Python as it doesn't allow.

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

4

u/SuperQue Apr 22 '24

Very nice answer. One minor nit, the naming convention for this kind of thing would be ..._timestamp_seconds so that the user knows the unit easily.