View Source SwarmEx.Telemetry (SwarmEx v0.1.0)
Telemetry integration for SwarmEx. Provides metrics and event tracking for agent activities.
Events
The following events are emitted:
[:swarm_ex, :agent, :message, :start]
- When an agent begins processing a message- Measurement:
:system_time
- Metadata:
:agent_id
,:message_type
,:network_id
- Measurement:
[:swarm_ex, :agent, :message, :stop]
- When an agent completes processing a message- Measurement:
:duration
,:queue_time
- Metadata:
:agent_id
,:message_type
,:network_id
,:result
- Measurement:
[:swarm_ex, :tool, :execute, :start]
- When a tool execution begins- Measurement:
:system_time
- Metadata:
:tool_name
,:agent_id
,:args
- Measurement:
[:swarm_ex, :tool, :execute, :stop]
- When a tool execution completes- Measurement:
:duration
- Metadata:
:tool_name
,:agent_id
,:result
- Measurement:
Summary
Functions
Attaches telemetry event handlers. Call this when your application starts.
Emits an agent message event with timing information.
Emits a tool execution event with timing information.
Functions
Attaches telemetry event handlers. Call this when your application starts.
Emits an agent message event with timing information.
Emits a tool execution event with timing information.