oxidecomputer / console

Oxide Web Console
https://console-preview.oxide.computer
Mozilla Public License 2.0
125 stars 10 forks source link

Instance CPU metrics #2129

Open david-crespo opened 5 months ago

david-crespo commented 5 months ago

OxQL is here and it's real.

get virtual_machine:vcpu_usage | filter timestamp > @now() - 5m && instance_id == "f63a9569-2fcf-4625-97ab-7599cc557c9e" | align mean_within(30s) | group_by [state], sum
david-crespo commented 3 months ago

Blocked by authz work on the API side. It could be light depending on how one-off we want to make it. See options here: https://github.com/oxidecomputer/omicron/issues/5298#issuecomment-2108689429

david-crespo commented 2 months ago

Not happening in v9. Putting in 10 for now but we'll need to revisit based on underlying capabilities.