SkillKit.Telemetry (SkillKit v0.1.0)

Copy Markdown View Source

Telemetry integration for SkillKit.

All events are prefixed with [:skill_kit]. Unless specified, all times are in :native units.

Boundary spans

Each agent boundary emits a span with :start and :stop events:

  • [:skill_kit, :tool_use, :start/:stop] — individual tool execution
  • [:skill_kit, :tool_batch, :start/:stop] — batch of parallel tool calls
  • [:skill_kit, :subagent, :start/:stop] — spawning a subagent
  • [:skill_kit, :conversation_save, :start/:stop] — persisting history
  • [:skill_kit, :conversation_load, :start/:stop] — loading history
  • [:skill_kit, :llm_request, :start/:stop] — LLM API request
  • [:skill_kit, :turn, :start/:stop] — processing a message batch

LLM events

  • [:skill_kit, :llm, :stream, :start/:stop] — LLM stream lifecycle
  • [:skill_kit, :llm, :stream, :error] — model URI resolution failure

Summary

Functions

attach_many(name, events, handler, opts)

detach(name)