Laminar Instrument Codebase
Workflow
- Identify runtime and entrypoints; map critical flows and select functions to instrument.
- Initialize Laminar once, early in the app, and configure auto-instrumentation for the libraries in use.
- Add manual spans with
observearound selected functions; attach tags, metadata, session/user IDs; suppress sensitive inputs/outputs. - Run a representative flow, validate traces in the UI, and tune span granularity and tags.
References
references/function-selection.mdfor heuristics on what to instrument.references/ts-instrumentation.mdfor TypeScript/JavaScript patterns and snippets.references/python-instrumentation.mdfor Python patterns and snippets.