question

Venkata T. avatar image
Venkata T. asked ·

How to chart 3rd party calls per each uri basis

Hi, I would like to track per each page, what all 3rd parties are getting called, their execution count and their times (per each page). I have created a business transaction using page action. But it is not giving me intended results. Can someone help with this. I have attached screenshot of what i have in the business transaction.

screenshot1.png

business transaction
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Satish P. avatar image
Satish P. answered ·

@Klaus E. can you attach the BT defn and screenshots again.. they are all gone.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hi Satish,

Our forum provider is investigating the issue with images.

Thank you for your patience,

Karolina

0 Likes 0 · ·
Klaus E. avatar image
Klaus E. answered ·

Sorry I made a mistake. To achieve the intended result you have to create per 3rd party a measure that matches a certain host. like in the screen below. After you have created these measures please add them with aggregation sum to the result measures. The other thing that you have to do is to remove the splitting per domain. If you change your BT that way you get in the BT dashboard a column with the time spent per 3rd party domain.

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Thx Klaus. So there is no automatic way of getting all the 3rd parties? meaning, now i have to create measure for each of the 3rdparty and you know these 3rd parties are like moving target. We might get new 3rd parties, etc.

Also in the 2nd screenshot you are still using KE_TPCLoadtime I suppose you should use the newly created liveperson measure. is that right?

0 Likes 0 · ·

Hi,

At the moment this is the only way how you can track this. You can use Regex for the host definition so that you can group the different hosts together and you have wildcards. That should allow you to hit the target.

On the 2. screen it should be the new one with liveperson.

0 Likes 0 · ·
Venkata T. avatar image
Venkata T. answered ·

I changed it to Average but still it is showing the total time but not the corresponding 3rdparty call time. Attached screenshots.

5 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Can you give me the session with this page action again?

0 Likes 0 · ·

Sure. Will upload it in 10 minnutes. Exporting the session now.

0 Likes 0 · ·

Attached it..

0 Likes 0 · ·

I have to investigate this further.

0 Likes 0 · ·

Ok. Thank you Klaus.

0 Likes 0 · ·
Klaus E. avatar image
Klaus E. answered ·

Hi,
I am not sure if you can achieve what you want. The third party detection only returns you the slow third parties and not all. This means by default you only get the third party URIs if the are slower than 500 ms.
The other thing is you try to split by "Web requests - URI patterns". I would choose here the "page action name". The reason is that a page action can have multiple server side Web Request and therefore the splitting will not work.

Klaus

15 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Klaus,

I am fine with getting all the 3rdparties which are more than 500 ms.
I was getting the splitting by URI pattern. But as per your suggestion i have changed it to Page Actions. I have attached 2 screenshots, one shows how i am getting data and 2nd one shows how i am splitting the data.

As shown in the screenshot, it shows 3rdparty average time and average time for the page. But unless i drill down i am not able to findout which 3rdparty is causing that. So can i have one more splitting to give all the 3rdparties per page?

Also why 3rdparty time is greater than page time? i have highlighted one in the screenshot.

0 Likes 0 · ·

Hi,

Could you please pass me a session with some of the Page Actions. I have to investigate this a bit more.

The reason why Third Party duration can be longer than the overall duration is that TP calls can be in parallel and therefore the sum is higher.

Klaus

0 Likes 0 · ·

Hi, Here is the session attached..

0 Likes 0 · ·

Hi,

Thanks for the session. Could you please check if this dashboard shows what you are looking for?

If so I put in all the screens of the measures and the BT.

Klaus

0 Likes 0 · ·

Hi Klaus,

Thanks for the output. If i understand it correctly, the highlighted part shows, 3rd party calls for single instance of /content page. is that right? it is almost close what i am looking for. But in the splitting you also have other page actions (i can not see it fully) but, is it possible to aggregate them?

The actual requirement asked by our developers is can we monitor 3rd party calls for all the checkout pages..For example, what all 3rd party calls are on cart page, what all calls are there for shipping page, payment page, address page, etc. I think looks like you have it but instead of page actions, can we get it for each page?

Thank you again..

0 Likes 0 · ·

So that should be the BT you are looking for the only thing that is missing is the limitation to the check-out pages.

If this is correct I can give you back the session with the BT and you just copy the BT back to your system.

Cheers Klaus

0 Likes 0 · ·

Thank you Klaus. So when we chart, I am assuming we can filter out only for checkout transactions. Yes this is what I am looking for. I hope I should be able to chart these over a period of time. Can you pls send me the session and BT details how you have configured?

Thanks again.

0 Likes 0 · ·

Klaus,

Can you send me the screenshots of how you have configured BT. Thanks.

0 Likes 0 · ·

Hi,

Sorry for the late reply. Find below the screens for the 4 measures you need to create and the 1 BT.
Measures:

BT:

Please use the "Suppress storage of results in Performance Warehouse" option as you are generating with this BT a lot of splitting values!

If you want to limit the splitting to certain pages you can use regex in the "KE_Page Actions - Name for Splitting"-measure.

Another question that I have belongs to the Cassandra instance that you use. You have not activated the out of the box Sensorpack that is available in dt 4.2. If you activate it you will see the queries in the database dashlet and in the transaction flow it will appear like a database. At the moment you are using the Sensorpacks from the Community which do not allow you to do that.

Cheers Klaus

0 Likes 0 · ·

Thank you so much Klaus. I did not know that i have to specifically activate the out of the box sensor. I will activate it now. Do i need to uncheck any of the sensor packs from the community.

0 Likes 0 · ·

If you do not need one of the sensors for a measure you should disable them.

0 Likes 0 · ·

Another question regarding BT is, you have mentioned - if i want to limit the splitting to certain pages you can use regex in the "KE_Page Actions - Name for Splitting"-measure.

Do you think we can achieve that by using RegEX in Thirdpartycontent count measure so we filter it upfront? which one is better way to do this. I have attached screenshot of what i mean.

0 Likes 0 · ·

It does not matter you can choose. Both should work.

0 Likes 0 · ·

Klaus, I have just implemented the BT, one thing i noticed is even though i am getting URI and corresponding 3rdparty splitting, response times are actually for the whole 3rdparty content but not for that particular 3rdparty. I have changed the third party content load time aggregation to "last". I don't think it is hleping me though. I have attached screenshots.

0 Likes 0 · ·

You may want to switch to average or max. because what you get via the BT is the sum/average/min/max... from all Page Actions within one minute with the same 3rd party.

last will give you the last value from within the minute.

0 Likes 0 · ·