Python记录到Azure [英] Python logging to Azure

查看:38
本文介绍了Python记录到Azure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Python,我想知道是否有任何包/简单方法可以直接登录到Azure?

I am using Python and I was wondering if there is any package/simple way for logging directly to Azure?

我找到了一个软件包( azure-storage-logging )非常好,但是它没有被维护并且与新的Azure API不兼容.

I found a package (azure-storage-logging) that would be really nice, however it is not being maintained and not compatible with the new Azure API.

欢迎任何帮助.

推荐答案

您应使用Application Insights将日志发送到Azure Monitor(以前称为Log Analytics).

You should use Application Insights which will send the logs to Azure Monitor (previously Log Analytics).

https://docs.microsoft.com/en-us/azure/azure-monitor/app/opencensus-python

这篇关于Python记录到Azure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆