WideEventClient
interface WideEventClient
Functions
Link copied to clipboard
abstract suspend fun flowFinish(wideEventId: Long, status: FlowStatus, metadata: Map<String, String> = emptyMap()): Result<Unit>
Finish an active flow and send it with a terminal status.
Link copied to clipboard
abstract suspend fun flowStart(name: String, flowEntryPoint: String? = null, metadata: Map<String, String> = emptyMap(), cleanupPolicy: CleanupPolicy = OnTimeout(duration = 7.days), samplingProbability: Float = 1.0f, definition: WideEventDefinition = WideEventDefinition()): Result<Long>
Begin a new flow.
Link copied to clipboard
Get ids of active flows by their name. Ids are ordered chronologically based on wide event creation time.
Link copied to clipboard
End a previously started interval.
Link copied to clipboard