Documentation
¶
Index ¶
- func WriteCSV(w io.Writer, events []observe.RunEvent) error
- func WriteJSON(w io.Writer, events []observe.RunEvent) error
- type ListOptions
- type Store
- func (s *Store) Append(ctx context.Context, event observe.RunEvent) error
- func (s *Store) Close() error
- func (s *Store) List(ctx context.Context, opts ListOptions) ([]observe.RunEvent, error)
- func (s *Store) Migrate(ctx context.Context) error
- func (s *Store) ObserveRun(ctx context.Context, event observe.RunEvent) error
- func (s *Store) Summary(ctx context.Context) (Summary, error)
- type Summary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListOptions ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ObserveRun ¶
type Summary ¶
type Summary struct {
Total int `json:"total"`
StatusCounts map[string]int `json:"status_counts"`
TopAgents map[string]int `json:"top_agents"`
TopSkills map[string]int `json:"top_skills"`
TopPlugins map[string]int `json:"top_plugins"`
BundleVersions map[string]int `json:"bundle_versions"`
GraphExecutions int `json:"graph_executions"`
ValidationFailures int `json:"validation_failures"`
Timeouts int `json:"timeouts"`
ContextBudgetWarnings int `json:"context_budget_warnings"`
PromptTokensEstimate int `json:"prompt_tokens_estimate"`
CompletionTokensEstimate int `json:"completion_tokens_estimate"`
PolicyDenials int `json:"policy_denials"`
}
Click to show internal directories.
Click to hide internal directories.