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
Copy
// Use TracingLevel.META_ONLY for sensitive user operationsimport { withTracingLevel, TracingLevel } from "@lmnr-ai/lmnr";withTracingLevel(TracingLevel.META_ONLY, () => { // Sensitive operations here will only record metadata // Input/output content won't be saved});