2 years ago
When an app has App Sleeping enabled, and it goes to sleep, the metrics for that service confusing as the time period during the sleeping is not represented on the graphs at all.
The graph's X-axis (time) should be consistent regardless of whether the app is sleeping or not. For when it's sleeping, the graphs should all be at 0, or, perhaps a different color.
Right now it's hard to see when the app slept, when it woke up, and why.
2 Replies
2 years ago
More details:
When an app has been sleeping more than 1 hour, the 1 hour metrics say:
"No service metrics in this environment
Create a deployment and the come back here"
Which is misleading at best.
For 6 hours, it just stops when the app slept, so it's not really showing 6 hours of metrics.
For 1 day, it's broken, just repeating the last metric over a time period that doesn't match (and the CPU graph should be at zero, but shows as slightly above zero).
2 years ago
This is a good point. We don't interpolate missing metrics when your deployment isn't running (because it technically isn't running and hence there's no visible metrics from our end), but I can see how that would be confusing for App Sleeping - and even misleading with the timespans.
It's also more satisfying to see a spike in the graph when your app wakes up ;)