Dan H
Dan H

Reputation: 1828

Monitor WCF service with net.tcp endpoint

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?

Upvotes: 1

Views: 679

Answers (2)

tomasr
tomasr

Reputation: 13849

While there's no official support for WCF, we've had an experimental SDK package that supports instrumenting WCF services out for a while: https://github.com/Microsoft/ApplicationInsights-SDK-Labs/tree/master/WCF

Upvotes: 1

Oleg Sych
Oleg Sych

Reputation: 6558

Application Insights SDK does not support automatic collection of telemetry for net.tcp endpoints. You can implement it yourself by extending the WCF channel to collect the required information and send it to Application Insights using the TelemetryClient.TrackRequest method.

Upvotes: 1

Related Questions