Package-level declarations
Types
Link copied to clipboard
annotation class Trace(val name: String = "", val metadataCustomizer: KClass<out SpanMetadataCustomizer> = DefaultSpanMetadataCustomizer::class)
Annotates a function to automatically generate a tracing span on each invocation.
Link copied to clipboard
Holder object for ProjectID and sessionID
Link copied to clipboard
Defines standard attribute keys used for Tracy tracing spans.
Functions
Link copied to clipboard
expect suspend fun <T> withProjectId(id: String, block: suspend ERROR CLASS: Symbol not found for CoroutineScope.() -> T): T
Executes the block with a projectId set. It has no effect on Langfuse.
Link copied to clipboard
expect fun <T> withProjectIdBlocking(id: String, block: suspend ERROR CLASS: Symbol not found for CoroutineScope.() -> T): T
Same as withProjectId but blocking.
Link copied to clipboard
expect suspend fun <T> withSessionId(id: String, block: suspend ERROR CLASS: Symbol not found for CoroutineScope.() -> T): T
Executes the block with a sessionId set. Has no effect on W&B Weave.
Link copied to clipboard
expect fun <T> withSessionIdBlocking(id: String?, block: suspend ERROR CLASS: Symbol not found for CoroutineScope.() -> T): T
Same as withSessionId but blocking.