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
observe around 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.md for heuristics on what to instrument.
references/ts-instrumentation.md for TypeScript/JavaScript patterns and snippets.
references/python-instrumentation.md for Python patterns and snippets.