Skip to content

Add dedicated service metrics page#136

Merged
arjunkomath merged 2 commits into
mainfrom
feat/service-metrics-page
Jul 12, 2026
Merged

Add dedicated service metrics page#136
arjunkomath merged 2 commits into
mainfrom
feat/service-metrics-page

Conversation

@arjunkomath

Copy link
Copy Markdown
Member

Summary

  • add a Metrics tab before Logs for every service
  • show requests, latency, traffic, and resource charts as four full-width rows
  • add a URL-backed time range selector matching Logs (1h, 6h, 24h, 7d)
  • share one metrics request across all charts while preserving the existing 24h overview
  • use range-aware time labels and retain existing chart data during range changes

Validation

  • npx tsc --noEmit
  • npx biome check --write components/service/details/service-details-overview.tsx components/service/details/service-metrics-page.tsx components/service/service-layout-client.tsx 'app/(dashboard)/dashboard/projects/[slug]/[env]/services/[serviceId]/metrics/page.tsx'
  • npm test -- --run tests/victoria-metrics-service-metrics.test.ts
  • git diff --check

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 66f9779.

@arjunkomath arjunkomath merged commit 5542483 into main Jul 12, 2026
8 checks passed
@arjunkomath arjunkomath deleted the feat/service-metrics-page branch July 12, 2026 09:19
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