英文:
How to see Google cloud functions invocations per day or month?
问题
In Google cloud metrics, I created a metric to monitor how many times a google cloud function is invoked
cloud functions -> functions -> executions
But this shows different values than the very small chart in Firebase -> Invocations/hour
- What's the issue here?
- How to change the charts' timezone in GCP to show the time in my timezone? The default timezone for the charts listed on Google cloud is fine, but the Metrics chart timezone is different.
英文:
In Google cloud metrics, I created a metric to monitor how many times a google cloud function is invoked
cloud functions -> functions -> executions
But this shows different values than the very small chart in Firebase -> Invocations/hour
- What's the issue here?
- How to change the charts' timezone in GCP to show the time in my timezone? The default timezone for the charts listed on Google cloud is fine, but the Metrics chart timezone is different.
答案1
得分: 2
我通过尝试多个图表并查看其他默认图表的方式来修复它
所以我们应该使用函数 -> 执行
对齐器和聚合器应该设置为“sum”
图表类型是线状图
至于时区,正如Chanpols在评论中指出的,右上角有一个齿轮图标,您可以在那里更改时区。
英文:
I fixed it by trying multiple charts and seeing how other default charts are done
So we should use functions -> executions
The aligner and the aggregator should be set to "sum"
And the chart type is line chart.
As for the timezone, as Chanpols indicated in the comment, there's a gear icon on the top right where you can change the timezone.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论