Retrace: Ideas Portal

Retrace combines several tools every development team needs, but we are always open to fresh new ideas.  Please submit your feature request/idea for Retrace below.

Set custom attributes for trace

We have a multi-tenant SaaS application and would like to be able to add an additional parameter that would allow us to tell which client the trace was for. The goal would be able to filter traces by the value. Here is an example of what I envision:

StackifyLib.ProfileTracer.SetAttribute("ClientId", 2);

I would basically set it when setting the ReportingUrl as below:

StackifyLib.ProfileTracer.SetReportingUrl(context.Request.Path);

Thanks!

  • Guest
  • May 14 2021
  • Attach files