In the docs它说要安装云客户端库(pip install google-cloud-monitoring)。但是,云客户端库在应用程序引擎上的 python2 标准环境中不可用,described here .
要使用 stackdriver 导出器,是否必须使用 beta python 3 运行时?
最佳答案
是的,这仅在新的 Python 3.7 运行时中可用。
关于python - opencensus stats python stackdriver 导出器可以在 python 2 app engine 标准环境中使用吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53345865/