Support & Documentation
Follow

Using Tracked Functions

Tracked Functions essentially allow you to track a sub-transaction or block of code within a larger transaction. For example, we implemented it for tracking all of our various Elasticsearch queries to uniquely identify them. 

To use them you need to modify your code like shown and use StackifyLib:

var tracer = StackifyLib.ProfileTracer.CreateAsTrackedFunction("Name the block of code"); tracer.Exec(() => { //Do some stuff });

Tracked functions will then show in the UI and you can even create key transaction monitors for them.

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk