I want to scale my app based on PubSub metrics, I’m able to fetch the metrics and scale successfully.
But… there is a big delay until the metrics are available.
Is there any way to achieve the metrics more quickly?
From my understanding, this is how most metrics work.
subscription/num_undelivered_messages
Number of unacknowledged messages (a.k.a. backlog messages) in a subscription.
Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
Solved! Go to Solution.
You can also fill out a feature request to ask for a reduction of this time, although there’s no ETA.
It is recommended that you first look for a similar feature request because we wait for a feature to have a handful of stars and, hopefully, comments from several users about how the feature would be useful.
So, when it comes to feature requests, it’s especially important to vote for an existing request (if one exists) instead of making a duplicate. If you consider opening a new feature request, this form will be useful.