• 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 Igor Z. · Feb 14, 2015 at 03:12 AM ·

Custom stack trace tagging

I noticed that an exception in dT is assigned some kind of API category like Spring, Hibernate etc. Could I assign some custom, specific to a certain application, API category (like Participant Profile, Employer, Notification etc) to a stack trace? This should be custom, specific to the application, rather intelligent piece of code that analyzes the entire stack trace and, if possible but not necessary, some other information, like HTTP Request if any, owned monitors and the kind, and then assigns such custom API category.

This technique, evidently, applies not only to the exceptions, as the stack trace is getting analyzed not only when an exception happens but at any time. One of the examples is a deadlock, when two or more deadlocking threads should be analyzed. Another example is an incident, like a deteriorating of some integral parameter, e.g. number of busy threads, when the stack traces of all living threads should be dumped and analyzed.

Note: I don’t have a real experience with dT, instead I am trying to evaluate the product and mix and match its capabilities with my company needs, so please excuse my ignorance and possible improper use of dT-specific terminology.

Thank you,

Igor

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.

4 Replies

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

Answer by Igor Z. · Feb 14, 2015 at 06:39 AM

OK, that's clear. Thanks a lot.

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. · Feb 14, 2015 at 06:34 AM

There is no API that we provide where you can set the assigned API name dynamically. However - our algorithm is already smart enough so that API names actually get inherited. Meaning. If you have a particular Web Service Implemnetation you can give it the API "MyWebService". All methods that this web servie will call will automatically "inherit" that API name unless there is more specific definition for these packages

I hope this helps

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 Igor Z. · Feb 14, 2015 at 03:39 AM

Andi,

Thank you very much for the prompt response.

The package and method names might be not enough to assign my own custom API. Like I said, I might need to analyze the whole stack trace, and even more, some other circumstances like if it is a Web Service request I'd like to tag the stacktrace as such regardless of method names. That's why I mentioned that it should be quite intelligent specific to the application piece of code that analyzes the entire stack and possibly some other things.

Is there a way to invoke some custom code that will define the custom API by more complex algorithm than just "static" assignment by method and package names ?

Igor

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. · Feb 14, 2015 at 03:28 AM

Hi. Open your System Profile and click on "API". There you can define your own custom APIs on package level. That means that dynatrace will assign these names to methods that we see in the captured methods. These custom APIs will then also show up in your Layer Breakdown Chart as every new API automatically gets a new Measure created that you can use for long term performance analysis

Andi

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