Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> another factor to consider is that if you have a typical Prometheus `/metrics` endpoint that gets scraped every N seconds, there's a period in between the "final" scrape and the actual process exit where any recorded metrics won't get propagated. this may give you a false impression about whether there are any errors occurring during the shutdown sequence.

Have you come across any convenient solution for this? If my scrape interval is 15 seconds, I don't exactly have 30 seconds to record two scrapes.

This behavior has sort of been the reason why our services still use statsd since the push-based model doesn't see this problem.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: