oxidecomputer / oxidecomputer/maghemite

Add `switch_id` to mgd metrics and ddm metrics

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

Nobody has claimed this yet.

ddm mgd
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.