Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Guide to span attributes and custom metadata
model
prompt_tokens
completion_tokens
cost_usd
latency_ms
status
await lumina.trace('operation', async (span) => { span.setAttribute('userId', 'user-123'); span.setAttribute('priority', 'high'); span.setAttribute('retries', 3); });
userId = "user-123" cost_usd > 0.5 priority = "high"
// Good userId, sessionId, featureFlag // Bad uid, SessionID, flag
span.setAttribute('model', 'gpt-4'); span.setAttribute('temperature', 0.7); span.setAttribute('max_tokens', 1000);