Reputation: 125
Looking at the Google Cloud API Monitoring metrics, it looks like the oldest_unacked_message_age is in seconds:
However, when trying to set up a policy and using the graph to the right, the value set in the configuration threshold seems is different from the threshold metric depicted in the graph on the y-axis. The threshold, I think, would be in seconds due to the definition of the metric, but the graph's y-axis units seems to indicate that 300 corresponds to milliseconds.
Upvotes: 1
Views: 76
Reputation: 17251
There is indeed a discrepancy between the metric itself (measured in seconds) and setting the threshold (measured in milliseconds). We will look into fixing the issue so that the two use the same units. In the meantime, you would have to set the value to 300,000 to compensate for the difference.
Upvotes: 1