question

Steven F. avatar image
Steven F. asked ·

.Net Core 2.2.6 Purepaths

I'm trying to investigate some slowdowns within some .Net Core code and the purepath is not very helpful I just seem to have the IIS web request -> Sync invocation -> AspNetCore WebRequest -> Async invocation -> SyncWork -> Async Invocation.

Is there some setup I haven't done to get further insights into the .net core code itself (method names etc) or do I have to instrument them myself?

Believe we are running latest one agent 1.175.270

.Net Core 2.2.6 running under IIS

oneagentpurepathdotnetiis
10 |2000000 characters needed characters left characters exceeded

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

1 Answer

Sebastian K. avatar image
Sebastian K. answered ·

The issue is that, there are executions of your internal code methods. In such case you may not see them on purepath without putting extra sensors using Request Attributes. To investigate it, pick some sort of purepaths that mathes the same patterns (ex. url + response time X s +) ans then drill down into method hotpots. You will see what part of your code keeps more time on CPU and what less.


If you will find method that may bee root cause create Request attribute based on .NET Method:

https://www.dynatrace.com/support/help/how-to-use-dynatrace/services-and-transactions/configuration/capture-request-attributes-based-on-method-arguments/

Restart your process and you will see it on purepath. You can make on top of it custom service as well if this will be better for you.

Sebastian


1570101238084.png (219.2 KiB)
2 comments Share
10 |2000000 characters needed characters left characters exceeded

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

The problem is I don't see any of the methods underneath the first call in .NET Core, under ASP .NET or other older C# I see a progression of the method calls and see requests out to third party libraries without me having to add any Custom service detection. Had hoped I would see the calls out to the v9 IBM MQ library with the deep monitoring add on that I can now see from our older component. I'll carry on adding custom services but just wondered if I hadn't got the.Net Core monitoring setup correctly?

0 Likes 0 · ·
Did you check method hotspots for larger amount of purepaths? In general, for .NET core it may be somwhere issue with collecting full purepaths without adding extra request attributes or custom services. For example there is only MQ communication inside, which sometime may not be correctly monitored out of the box. In such cases you need helpt DT to see full transaction.


Sebastian


0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android