Associating Traces with Users
Tracking which user triggered a particular trace is crucial for:- User-specific debugging
- Analyzing usage patterns
- Filtering traces in the dashboard
- Compliance with data regulations
Setting User ID
This allows you to filter and search for traces by user ID later.- JavaScript/TypeScript
- Python
Privacy Considerations
When including user IDs in traces, consider the following privacy practices:- Use anonymous or pseudonymous IDs rather than personally identifiable information
- Consider your data retention policies
- Use Laminar’s tracing level settings to control sensitive data
- Follow relevant data protection regulations
- JavaScript/TypeScript
- Python