oxidecomputer / oxidecomputer/console

Use OxQL instead of legacy metrics endpoints on system and silo utilization pages

Open
#2,864 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

We are still using these legacy metrics endpoints that we should be deprecating on the API side in favor of OxQL. We're doing that with the disk metrics endpoint (https://github.com/oxidecomputer/omicron/pull/8721) but OxQL is meant to cover all of these use cases.

https://github.com/oxidecomputer/console/blob/bcfd93888744ea4ec4bfb4323f8a153c6bf60e30/app/components/SystemMetric.tsx#L56-L57

https://github.com/oxidecomputer/console/blob/bcfd93888744ea4ec4bfb4323f8a153c6bf60e30/app/components/SystemMetric.tsx#L127-L128

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in app/components/SystemMetric.tsx at the referenced lines for the system and silo utilization metrics. Read the linked omicron pull request for the disk metrics migration and identify the corresponding OxQL usage for these pages. Done means both pages no longer use the legacy metrics endpoints and their utilization data still displays correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, observability-sre
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.