- TypeScript
- Python
Laminar.serializeLaminarSpanContext(span?)
Serialize span context for cross-service propagation.Returns:
string | null — JSON string containing traceId, spanId, isRemote, spanPath, spanIdsPathLaminar.getLaminarSpanContext(span?)
Get span context as an object.Returns:
LaminarSpanContext | nulldeserializeLaminarSpanContext(data) (internal)
Not exported from@lmnr-ai/lmnr. You typically do not need to deserialize manually—pass the serialized context directly as parentSpanContext when starting a span.Returns:
LaminarSpanContext