Tracking custom requests
See original GitHub issueIs it possible to track custom requests using this SDK? I am thinking of something similar to C#'s SDK:
public void TrackRequest(string name, DateTimeOffset startTime, TimeSpan duration, string responseCode, bool success)
The reason I’m asking is that I have an API server which can receive requests via web sockets (not just HTTP), and I would like to track these requests as well.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Tracking Custom Network Requests - New Relic Explorers Hub
Hi! I've read over all of the mobile documentation, but I'm confused about which network requests are tracked and when.
Read more >How do you keep track of custom requests? : r/CreatorsAdvice
I add to a list in notes, then i go back and copy and paste the specifics of the request next to their...
Read more >Why Your Business Needs a Custom Order Tracking System
Order tracking delivers a more customized, higher-quality purchasing experience for customers. They give internal team members the tools and ...
Read more >5 Ways Online Stores Can Optimize Custom Order-Tracking ...
5 Ways to Stand Out with Custom Order-Tracking Experiences · 1. Offer a Branded Tracking Experience · 2. Drive Repeat Purchases with Customers...
Read more >Custom Order Tracking - UltraFlexx
The fastest and easiest way to track your direct custom order shipment anytime throughout the process. For each container that is shipped, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Sorry! Re-reading this I may have closed too early. It looked like a question on how to do this that was resolved by using trackEvent and forked a feature request for auto collection.
We don’t today have a trackRequest that can be used without a request object, but it does sound like a fair ask to me. Re-opening with an enhancement tag
To answer your previous question, you can use the plain track method for this, but you must construct the telemetry envelope by hand. This will be easier in the next release as we’ll export the classes/types we use within the SDK to handle these data contracts.
No worries! And thank you for re-opening it. I’ll play around with the new SDK once it becomes available.