What is the usage of `averagingWindowSeconds` and `sampleRateSeconds` in the metrics API?
Hi there, I'd like to use the
metrics
API to understand the usage of my production deployment. I'm a little confused as what does the averagingWindowSeconds
and sampleRateSeconds
argument mean?5 Replies
Project ID:
032aac44-311a-48b5-98a7-9ae8670c6762
You might find these helpful:
- Metrics | Railway Docs
⚠️ experimental feature
032aac44-311a-48b5-98a7-9ae8670c6762
Hey there, can you link your account and tell us a bit more about your usecase? cc @Anshuman
Hi Angelo, sure. I want to detect any memory leaks before running out of my credits or shutting down project. It happened with me in the last project that node-cron created a memory leak, I want to check memory usage every 6 hours or so to ensure my application isn't going 2x-3x of it's usual memory usage.