demml / demml/opsml

[genai-ui] Trace/span detail: GenAI metrics tab

Open
#390 0 comments 0 reactions 0 assignees View on GitHub
enhancement genai UI
Dominant language
Rust
Stars
40
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Part of #381
Depends on: #389

## What

Add a GenAI metrics tab to the existing trace/span detail view.

- New tab alongside existing span detail panels
- Shows GenAI semantic attributes extracted from the span: token counts (prompt/completion/total), model name, operation type, latency
- Data sourced from Scouter per-span aggregate endpoint via OpsML proxy
- Only shown when span contains GenAI attributes — tab hidden otherwise
- Follows existing trace waterfall UI patterns

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.