We are using DX APM to monitor some customer's business methods such as implementPlan.submit.
We have monitored the method's performance as metrics in DX APM such as response time, error, stall etc.
But now customer want to distinguish this method using their business data PlanCode.
The PlanCode is a member of business class BusinessPlan.
An example of class BusinessPlan as below:
{
...
private string PlanCode;
...
}
The instance of BusinessPlan will pass as a parameter to implementPlan.submit.
Now customer want to achieve two goals:
1. Monitor the different metrics of implementPlan.submit depended on the content of PlanCode which pass to the method.
For example, if the PlanCode is OC_ABC1234,we will monitor the metric with name is OC_implementPlan.submit. If the PlanCode is NA_ABC1234, we will monitor with name is NA_implementPlan.submit.
2. Customer want to see the content of PlanCode in the transaction trace windows when a snapshot of implementPlan.submit be captured,
We cant find anyway to collect the business data in applications in DX APM's documentations.
How can we collect the data in customer application to achieve the customer's goal using DX APM?
The version of DX APM is 10.7 and customer environment is JAVA 8 and tomcat.