cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

How to link different purepaths with custom field exists in the all the purepaths?

chee_wang1
Newcomer
 
4 REPLIES 4

graeme_william1
Inactive

Chee,

You can collect PurePaths together using a business transaction. It sounds like you want to do that using an HTTP header field. If so, you would create a new measure using the Web Requests - Header Value measure template and use your new measure as a splitting measure to create a business transaction.

In addition to the documentation, Usage of Business Transactions, which includes links to APMU training videos, there's also a number of relevant videos on the Dynatrace YouTube channel. The most relevant one might be "Advanced Business Transactions".

Just one caveat: if your custom field has many different values ( > 1,000), you should clear the "Store results in Performance Warehouse" checkbox in the business transaction definition.

-- Graeme

If you have access to the source code - or maybe able to "weave" code using tools such as AspectJ you could also try our Tagging ADK leveraging the Custom Tag feature: Tagging for Java, Tagging for .NET

Andi

The two purepaths are from different jvms. The first purepath is ended after inserting a row into database with a unique key and the second purepath starts by a thread loading the record from the database for further processing from different jvm. I would like to link these two purepaths into one to monitor the response time of them as one purepath.

We don't have access to source code.

-- Chee

Chee,

If you don't have access to the source code, you'll need to use a tool like AspectJ in order to inject code into your application at runtime. As Andi says, this would allow you to use the Tagging ADK to join the two PurePaths into one.

If AspectJ (or similar) is impractical for some reason, there's no way you can join the two PurePaths into one (i.e., without access to the source code) and the best way of getting some data is to use a business transaction to add the response times for the two PurePaths together.

Using a business transaction does have some limitations: for your use case you won't be able to write results to the Performance Warehouse, which means no charting, but you will be able to see the data in a table.

Another possibility for business transactions is to use the "Export results via HTTP" feature to write the data out to some other store (e.g., Splunk or some BI tool) where you can chart and analyze the data.

-- Graeme