python - 有没有办法使用 VS Code 和 Python 监视 Azure Functions 中的内存消耗?

标签 python azure visual-studio-code azure-functions

我正在本地测试 Python 中的 Azure Function Time 触发器,想知道是否有任何方法可以估计 VS Code 中的内存大小和执行次数,以便我可以将此信息放入 Azure Functions 定价计算器中。

最佳答案

我不确定是否有办法在 VS Code 中获取它,但是您可以使用 AppInsights 从本地计算机发送指标,然后使用这些指标来计算执行和内存

您可以使用 Azure 门户中的“监视器”->“指标” View :

enter image description here

关于python - 有没有办法使用 VS Code 和 Python 监视 Azure Functions 中的内存消耗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61580796/

相关文章:

python - SQLAlchemy 需要一个对象,但找到了一个表

Azure - 使用消耗 API - 不完整日期

typescript - noImplicitAny 不工作 typescript

node.js - 如何设置VS Code集成终端的node版本?

python - 刷新 GUI 窗口

python - 使用 tail 和缓冲区获取文件中的最后 K 行

python - 模块未找到错误: No module named 'Xlib' when push python app to heroku

asp.net - 生成重置密码 token 在 Azure 网站中不起作用

当时间租赁时间超过 1 分钟时,Azure Blob 存储获取租赁会引发错误

node.js - Docker 中的远程调试 Node 应用程序