- TypeScript
- Python
Laminar.flush()
Flush pending spans to the backend.Promise<void>When to use:- End of CLI scripts
- End of serverless function handlers
- Before process exit
- In web server request handlers (degrades performance)
Laminar.shutdown()
Flush spans and shut down tracing.Promise<void>Note: Force flushes, clears config/context, releases resources. Can re-initialize afterward.Laminar.getHttpUrl()
Return the configured HTTP URL.Returns:stringLaminar.getProjectApiKey()
Return the configured project API key.Returns:string