62 lines
884 B
YAML
62 lines
884 B
YAML
version: 1.0
|
|
description: Agent Tracking & Tracing Configuration
|
|
|
|
tracking:
|
|
|
|
enabled: true
|
|
|
|
trace:
|
|
|
|
fields:
|
|
- trace_id
|
|
- timestamp
|
|
- user_input
|
|
- processed_input
|
|
- output
|
|
- latency_ms
|
|
- tokens_input
|
|
- tokens_output
|
|
- total_tokens
|
|
- cost_estimate
|
|
- retry_count
|
|
- status
|
|
- error
|
|
|
|
correlation:
|
|
|
|
enable: true
|
|
key: trace_id
|
|
|
|
stages:
|
|
|
|
- name: input_received
|
|
log: true
|
|
|
|
- name: security_checked
|
|
log: true
|
|
|
|
- name: governance_checked
|
|
log: true
|
|
|
|
- name: llm_called
|
|
log: true
|
|
|
|
- name: output_filtered
|
|
log: true
|
|
|
|
storage:
|
|
|
|
type: file
|
|
path: ".specify/logs/trace/"
|
|
|
|
format: json
|
|
|
|
retention:
|
|
|
|
days: 30
|
|
|
|
logging:
|
|
|
|
level: info
|
|
include_input: true
|
|
include_output: true |