oxidecomputer / oxidecomputer/console
Initial `oxql` metrics explorer
@benjaminleonard is already working on this.
Since Jun 30, 2026.
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
Want to add a system-level page that let's the user explore metrics and construct oxql queries.
Acting at least initially as:
- A way to learn and experiment with
oxql- Educational to understand query shapes
- Discover available schemas
- An ad-hoc troubleshooting workflow
- Perhaps initially a smaller set of predefined query shapes; e.g. sled CPU, sled networking, instance CPU
- Less concerned about pure utility here to begin with, we can always follow up to optimise troubleshooting workflows later
UX
Probably a text-first or hybrid query surface. Might punt on a bi-directional UX unless there's a simple robust way to do it. Provide lightweight controls that write into the query rather than a fully separate visual builder.
Adding presets for queries and time-ranges.
Visualisation
Constrained set of chart presentations selected by metric schema/type/unit. Either using the data type to infer the chart type, or just getting Claude to make a map of the schemas → chart type. Maybe we'll need to clamp the range, or reduce the points. Manual refresh rather than polling. We could persist the query state in the URL param or add a share button that generates a link even if we're not adjusting the param of the active query.
---
Will's lovely demo is a useful reference here: https://github.com/oxidecomputer/oxql-vis
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.