功能2.0不会自动跟踪eventhub绑定依赖关系 [英] Functions 2.0 not automatically tracking eventhub out binding dependencies

查看:91
本文介绍了功能2.0不会自动跟踪eventhub绑定依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具有功能2.0它与Application Insights集成得更多,可以跟踪依赖关系,我可以看到它正在跟踪对资源的调用 服务总线输出绑定.但是,不为eventhub绑定.我们是否需要为事件中心启用任何其他设置?

With Functions 2.0 it has more integration with Application Insights to track dependencies and I can see that it is tracking calls to resource service bus out binding. However, not for eventhub out binding. Do we need to enable any additional setting for event hub?

如果自动跟踪尚不可用对于Eventhub,最好的添加方式是什么?

推荐答案

来自

From the document:

该功能与其他服务的依存关系不会自动显示,但是您可以编写自定义代码来显示依存关系. C#定制遥测部分中的示例代码显示了如何进行.该示例代码将在Application中生成一个应用程序映射 如下所示的见解:

Dependencies that the function has with other services don't show up automatically, but you can write custom code to show the dependencies. The sample code in the C# custom telemetry section shows how. The sample code results in an application map in Application Insights that looks like this:

要报告功能中与Application Insights集成有关的问题,或提出建议或请求,请创建一个GitHub中的问题.

To report an issue with Application Insights integration in Functions, or to make a suggestion or request, create an issue in GitHub.


这篇关于功能2.0不会自动跟踪eventhub绑定依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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