You can include current user information in traces, errors and HTTP failures by using the set_user() function. This helps you to debug and troubleshoot the issues for a specific user.

Compatibility

Compatible with all Ruby agent versions.

Syntax

Parameter

Example