| AgentFrameworkMetricsOptions |
Configuration options for the agent framework's OpenTelemetry metrics and tracing. |
| AgentRunDiagnosticsBuilder |
Thread-safe accumulator for diagnostics captured during a single agent run. Both Needlr's built-in diagnostics middleware and consumer-provided middleware use this class to record tool calls, chat completions, and message counts as an agent executes. |
| AgentRunDiagnosticsTimelineExtensions |
Extensions for producing ordered timeline views of an IAgentRunDiagnostics. |
| AgentRunDiagnosticsTranscriptExtensions |
Extensions for rendering an IAgentRunDiagnostics as a human-readable markdown transcript. |
| ChatCompletionCollectorHolder |
DI-registered singleton that holds the IChatCompletionCollector instance. The diagnostics middleware sets the real collector during factory construction; consumers resolve this to access it. Unlike a static holder, each DI container has its own instance, making it testable and thread-safe across containers. |
| ChatCompletionDiagnostics |
Diagnostics for a single LLM chat completion call within an agent run. |
| DiagnosticsCharCounter |
Computes character counts of chat messages, responses, tool arguments, and tool results for diagnostics capture. Character counts are a direct programmatic measure of payload size — distinct from the LLM-provider-reported TokenUsage — and are useful for detecting chat-reducer drift, prompt bloat, and unexpectedly large tool responses during evaluation. |
| DiagnosticsTimelineEntry |
A single entry in an agent run's ordered timeline of chat completions and tool calls. |
| TokenUsage |
Token usage breakdown for a single LLM call or aggregate across an agent run. |
| ToolCallCollectorHolder |
DI-registered singleton that holds the IToolCallCollector instance. The diagnostics middleware sets the real collector during factory construction; consumers resolve this to access it. Unlike a static holder, each DI container has its own instance, making it testable and thread-safe across containers. |
| ToolCallDiagnostics |
Diagnostics for a single tool/function invocation within an agent run. |
| WorkflowRunOptions |
Options for running a workflow with diagnostics and progress reporting. Consolidates the parameters for RunWithDiagnosticsAsync into a single record to avoid excessive parameter counts. |