DX Application Performance Management

 View Only
  • 1.  How to collect the business data using DX APM

    Posted Jul 21, 2020 11:54 PM
    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.  


  • 2.  RE: How to collect the business data using DX APM

    Broadcom Employee
    Posted Jul 22, 2020 10:35 AM
    Hello,

    Smart Instrumentation may help you here. Please review details on Smart Instrumentation here.
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/11-1/implementing-agents/java-agent/configure-java-monitoring/configure-smart-instrumentation.html

    Also, you may have to write custom Instrumentation. In this case, review the following for custom Instrumentation.
    Review directive&tracertypedefinitions.pdf
    https://community.broadcom.com/search?executeSearch=true&SearchTerm=directive%26tracertypedefinitions.pdf%2c&l=1

    Thanks, Amir Mushtaq


  • 3.  RE: How to collect the business data using DX APM

    Broadcom Employee
    Posted Jul 23, 2020 09:23 AM
    Hi Tiger ,

    In addition, please refer custom traces: 

    Directive Names and Arguments that are used in Tracer Syntax

    Try using "TraceAllMethodsOfClass" -This directive traces all methods in the specified class.

    Thanks,
    Yanna


  • 4.  RE: How to collect the business data using DX APM

    Posted Jul 24, 2020 01:02 AM
    At First Very many thanks for these reply.

    But I think these directives are helpless for this situation. 

    We have create the custom pbd and trace many  user-defined classes and their methods even if are methods of  inheritance(same name with different parameters).

    Now the customer's needs are dividing the one method metric to many method metric according to the value of parameter that the method carried when it be invocated. 

    For this need, we must can trace and get the value from method parameters.

    But I cant find any directive that can trace the value.




  • 5.  RE: How to collect the business data using DX APM
    Best Answer

    Broadcom Employee
    Posted Jul 24, 2020 11:38 AM
    I thing you may need to use something similar to the following.

    TraceOneMethodWithParametersIfFlagged

    There are many default PBDs with agent that can give you help with syntax with the above tracer and other traces.

    Thanks, Amir