Differentiate same URLs/APIs with different parameters

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

To differentiate same urls/apis with different parameters in an application, we can add the urls as KBT (key business transaction) with the parameters.

Eg: If we have an api /test/api/values in our application which takes different parameters and you want to differentiate the apis based on the values of a parameter named controller, then we can add the api /test/api/values as a KBT with the parameter and its value.

[Screenshot 1 is not available on this page.]

[Screenshot 2 is not available on this page.]

Steps to add kbt with parameter and values

1. In applicare dashboard go to Business transactions -> settings -> transaction definitions. Then click on Add button.

[Screenshot 3 is not available on this page.]

2. In the configuration window,

a. Enter a unique name for the kbt.

b. select the option Web from Type dropdown.

c. Enter the URL in the URI text box without url query parameters.

d. In the parameters text box enter the parameter and its value seperated by the equal (=) symbol.

e. Click on Add button and then click on Apply button to save the kbt.

[Screenshot 4 is not available on this page.]

Similarly add multiple KBTs with the different parameter values.

[Screenshot 5 is not available on this page.]

[Screenshot 6 is not available on this page.]

We are done. Now we can see the transaction details in Business Transactions -> Transactions screen whenever transactions occurs in the app server with the configured url and param values.

[Screenshot 7 is not available on this page.]

[Screenshot 8 is not available on this page.]

Business Transactions -> Key Business Transactions Load Distribution screen, will show the average performance of the transactions.

[Screenshot 9 is not available on this page.]

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support