Summary
cost_usd and latency_ms exist on AgentTrace but are not scored by any metric. Add metrics that quantify the security-vs-performance tradeoff.
Scope
LatencyOverhead metric: score based on latency relative to a baseline threshold
CostEfficiency metric: score based on cost relative to a budget threshold
- Configurable baseline thresholds
- Include in default
built_in_metrics() or as opt-in extras
Acceptance Criteria
Summary
cost_usdandlatency_msexist onAgentTracebut are not scored by any metric. Add metrics that quantify the security-vs-performance tradeoff.Scope
LatencyOverheadmetric: score based on latency relative to a baseline thresholdCostEfficiencymetric: score based on cost relative to a budget thresholdbuilt_in_metrics()or as opt-in extrasAcceptance Criteria