oxidecomputer / oxidecomputer/crucible

Crucible metrics V2

Open
#442 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
260
Forks
34
Avg merge
2d 1h
Merged PRs (30d)
8

Description

In the spirit of trying to answer the question "My VM IO is slow, why?", we want more metrics.

These metrics will help us either exonerate crucible, or identify where in crucible the problem is.

There are a bunch of dtrace probes in both crucible upstairs, crucible downstairs, and the crucible volume layer. These dtrace probes should be turned into actual metrics that are collected by Oximeter. In this case crucible should do the work of creating the histogram buckets and Oximeter would just collect them.

Additional metrics around throughput and queue depth are also desired, with more detail to come.

Contributor guide

Open the contributing guide

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 inventorying the existing dtrace probes across crucible upstairs, crucible downstairs, and the crucible volume layer, then review how Oximeter collects metrics. The desired metric set is not fully specified: throughput and queue-depth details still need definition, along with the histogram buckets crucible should create. Done requires an agreed scope and implementation plan for collecting these metrics.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.