How to track operation latency using Adobe? | Community
Skip to main content
Level 2
March 26, 2024
Solved

How to track operation latency using Adobe?

  • March 26, 2024
  • 1 reply
  • 1713 views

As someone new to Adobe, using the code below, how can I set up Adobe to track this data? My thought process is to create an eVar to store operationName, and then a Custom Success Event to store responseTime as numeric. Lastly, using Data Elements and a Rule, set those Adobe variables I just created. Does this work so I can display averages, min/max, or graphs over this data? Will the Metric responseTime be tied to operationName Dimension?

 

Edit: Is this even possible on Adobe? Wrong tooling for tracking this?

 

 

 

const responseTime = (Date.now() - startTime) / 1000; window._satellite.track('operation-name', { operationName, responseTime, });

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by leocwlau

The approach sounds right and it will be very easy to get and display the average by creating a calculated metric with metric mapped for responseTime / instance of evar mapped for operationName.

Getting and displaying the max and min will be challenging as Workspace UI aggregate metrics and the "row max" and "column maximum" functions do not help in this case, unless you have each individual instance of tracking listed in the freeform table as rows then using column max/min to get the result. However, this could be less useful for reporting as you can't trend that over time or break it down by other dimensions.

1 reply

leocwlau
Community Advisor and Adobe Champion
leocwlauCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 27, 2024

The approach sounds right and it will be very easy to get and display the average by creating a calculated metric with metric mapped for responseTime / instance of evar mapped for operationName.

Getting and displaying the max and min will be challenging as Workspace UI aggregate metrics and the "row max" and "column maximum" functions do not help in this case, unless you have each individual instance of tracking listed in the freeform table as rows then using column max/min to get the result. However, this could be less useful for reporting as you can't trend that over time or break it down by other dimensions.

ElliotSiAuthor
Level 2
March 27, 2024

Yes, I did figure out the average calculated metric. I tried playing around with min/max funcs and received totals like you said. Is it possible to count responseTimes over a 'max/min' threshold? I believe I read that somewhere

March 27, 2024

You can create segments at hit level for the responseTime over the max or below the min threshold and apply those segments with the average time calculated metric, so you can understand what-if the responseTime out of range and the average value.