Measure the average time taken by an API
New
Is there a way to measure the average time taken by a particular API in FullStory? Lets say that the users have observed a spike in time that is being taken by a particular API and I would like to know if there is a way to create a metric based on the time taken by this particular API.
0
Comments
1 comment
Hey @sujays! Thanks so much for your question! 😊
A way you could achieve this is by utilizing the FS.event API which allows you to send custom event data into FullStory. You would first have to determine what information you’d like to pass over to build this metric, but you can do so by reading more information in our Knowledge Base article here. You can then build a metric with the API event and apply a property. If you are sending a duration value, please be sure to use the
_realtype suffix (or_intif you're using whole numbers) which will open up some value-specific options for event filters like greater than, less than, etc.Here’s a screenshot of what that could look like:

Please let me know if you have any other questions as I’d be happy to help!
Please sign in to leave a comment.