1

We have a WCF service with a net.tcp endpoint and Azure's application insights monitor doesn't seem to work with it. Does it not work with net.tcp endpoints, or is there something we have to do to get it to work?

4

2 回答 2

1

Application Insights SDK 不支持自动收集 net.tcp 终结点的遥测数据。您可以通过扩展 WCF 通道来自行实现它,以收集所需的信息并使用 TelemetryClient.TrackRequest 方法将其发送到 Application Insights。

于 2015-04-07T22:12:26.290 回答
1

虽然没有对 WCF 的官方支持,但我们有一个实验性的 SDK 包,它支持检测 WCF 服务已经有一段时间了:https ://github.com/Microsoft/ApplicationInsights-SDK-Labs/tree/master/WCF

于 2017-02-15T14:43:17.507 回答