oxidecomputer / oxidecomputer/propolis

Panic count metrics could possibly be combined for easier analysis

Open
#660 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
270
Forks
42
Avg merge
4d 5h
Merged PRs (30d)
6

Description

Propolis maintains two metrics counting panics in the guest, and distinguishes between guest- and host-handled panics as different timeseries. Here:

https://github.com/oxidecomputer/propolis/blob/4ccbb04add49a3a3ba8822d93ffa91afc0067b8d/bin/propolis-server/src/lib/stats/pvpanic.rs#L30

and here:

https://github.com/oxidecomputer/propolis/blob/4ccbb04add49a3a3ba8822d93ffa91afc0067b8d/bin/propolis-server/src/lib/stats/pvpanic.rs#L39

We may want to collapse these into one timeseries counting total panics, with a field to indicate who handled it (guest or host). But it's not clear from the PVPANIC documentation whether these two are mutually exclusive. If not, two timeseries would be needed. But if so, we may want to collapse them.

Contributor guide

No contributing guide indexed for this repository

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 bin/propolis-server/src/lib/stats/pvpanic.rs at the two referenced metrics, then read the linked QEMU PVPANIC documentation to determine whether guest- and host-handled panics are mutually exclusive. Done means documenting that behavior and choosing whether to retain the two timeseries or combine them with a handler field.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.