oxidecomputer / oxidecomputer/maghemite
Add `switch_id` to mgd metrics and ddm metrics
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 94
- Forks
- 6
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 12
Description
The mgd and ddm daemons running in the switch zone currently do not report switch_id, only sled_id in metrics. It would be helpful for consumers of this data to have the switch_id, as the relationship between switch_id and sled_id can change over time.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the mgd and ddm daemon metric definitions and inspect how sled_id is currently reported. Trace the switch-zone metric emission path to determine where switch_id should be added. Done means both daemons report switch_id alongside sled_id, with existing metric checks updated if they cover these outputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100