• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Jason M. · Oct 22, 2013 at 07:54 PM ·

How do I monitor a net.tcp protocol WCF service properly?

I'm trying to get transactions and PurePaths from an agent that is attached to a Windows Service that hosts a WCF service; C# application. I have the agent showing up but the only transactions I see are the WCF service calling a web service. The only PurePath I get is that call, I don't get any of the core methods that ended up calling the web service call.

I also have a C# Console Application caller that calls the WCF Service and I don't get any transactions from that either.

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Jason M. · Oct 23, 2013 at 06:59 PM

Got what I wanted. Ended up disabling the Senor Configurations' "start PurePaths", left as "active", and made manual instrumentations with start PurePaths.  

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · Oct 23, 2013 at 08:20 PM 0
Share

Good to hear you got it all working

avatar image

Answer by Jason M. · Oct 23, 2013 at 04:13 PM

I have a C# application that starts as a Windows Service. That service Initializes and opens a single System.ServiceModel.ServiceHost with a single endpoint net.tcp://localhost:30000/ServiceA . There are two consumers of the service, one web app (not previously mentioned) and one console application (primary use). I had .NET WCF and .NET Web Service Sensor active and PurePath. The only PurePath I could see was the Windows Service making an call to a separate web service.

I went through and enabled all the sensor packs to active (w/ PurePath when available). I am now getting SyncMethodInvoker.Invoke as the Entry Point and get a PurePath of the call. It seems to be missing a significant percentage of the methods, I know it doesn't capture 100% but my Web App gets probably ~70% and this is around 3%; the level of granularity is extremely low.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Oct 23, 2013 at 09:33 AM

Hi Jason. I am not sure I fully understand your scenario. Your Services hosts a list of WCF Services but you only get ONE PurePath for ONE particular service call and you miss all others?

Who is calling these Web Services? Are these applications that call the Web Service also instrumented and do you expect and End-to-End PurePath?

In order to start PurePaths for Web Service calls you need to make sure that the .NET Web Service Sensor Pack is configured with active and start PurePath. To verify that open your System Profile -> check our Sensor Configuration and make sure that the .NET Web Service Sensor Pack says "active and start PurePath". You may also want to set the .NET WCF Sensor Pack to active and start purepath as well as your WCF services might not be detected by our .NET Web Service Sensor Pack

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A