NullTracer

Zero-allocation, no-op Tracer. The broker's default.

Functions

Link copied to clipboard
open suspend fun recordAgentInteraction(fromAgent: String, toAgent: String, eventType: String, eventId: String?, correlationId: String?)

Emitted by Dispatcher / Router when the Phase 4 agent system routes an event between agents.

Link copied to clipboard
open suspend fun recordLlmCall(model: String, messages: List<LlmMessage>, temperature: Double, tools: List<String>?, correlationId: String?)
Link copied to clipboard
open suspend fun recordLlmResponse(model: String, content: String?, toolCalls: List<LlmToolCall>?, callDuration: Duration, correlationId: String?, usage: JsonObject? = null, providerModel: String? = null, finishReason: String? = null, metadata: JsonObject? = null)

Records an LLM response. model is the configured request model. The evidence parameters carry what the provider reported, unchanged: usage is never estimated and stays null when the provider reported none.

Link copied to clipboard
open suspend fun recordToolBatch(batchId: String, toolNames: List<String>, successCount: Int, failureCount: Int, callDuration: Duration, correlationId: String?, caller: String? = null)

Emitted once per parallel tool batch in addition to the per-call recordToolCall events. Serial runners do not emit batch events.

Link copied to clipboard
open suspend fun recordToolCall(toolName: String, arguments: String, result: String, callDuration: Duration, isError: Boolean, correlationId: String?, caller: String? = null)