Skip to content

feat(probe): add per-hop latency/loss annotations to probe analysis hop chain#12

Merged
sagostin merged 1 commit into
masterfrom
agent/frontend/922a8abd
May 6, 2026
Merged

feat(probe): add per-hop latency/loss annotations to probe analysis hop chain#12
sagostin merged 1 commit into
masterfrom
agent/frontend/922a8abd

Conversation

@sagostin
Copy link
Copy Markdown
Member

@sagostin sagostin commented May 6, 2026

Summary

Extends the probe analysis hop chain to display per-hop latency and loss metrics, and visually distinguishes ICMP rate-limited hops.

Changes

  • Backend (controller/internal/probe/analysis.go):

    • Added latency, loss, and is_rate_limited fields to HopDetail
    • analyzeMtrForProbe now aggregates per-hop metrics across all MTR traces
    • Rate-limited hops are tracked in a set and flagged on each HopDetail
    • buildHopDetailsForMtrPayload populates the new fields
  • Frontend (panel/src/components/analysis/ProbeAnalysisView.vue):

    • Each hop node displays latency and loss badges when available
    • Badges are color-coded by health thresholds
    • Rate-limited hops get a dashed border and an "ICMP" indicator
  • Types (panel/src/components/analysis/types.ts):

    • Updated HopDetail interface to match backend changes

Checklist

  • Go build passes
  • Vue TypeScript type check passes

Resolves NET-15

…op chain

- Extend HopDetail with latency, loss, and is_rate_limited fields
- Aggregate per-hop metrics across all MTR traces in analyzeMtrForProbe
- Update ProbeAnalysisView.vue to display color-coded latency/loss badges
- Highlight rate-limited hops with dashed border and ICMP indicator
- Update TypeScript HopDetail interface

Resolves NET-15

Co-authored-by: multica-agent <github@multica.ai>
@sagostin sagostin merged commit ac00ad7 into master May 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant