Skip to content

Metric model and unit normalization #38

Closed

Description

@somethingwithproof

Summary

A single set of fields describes every GPU, with documented units and unknown handling, so one set of templates and thresholds applies across vendors.

Requirements

  • REQ-METRIC-001 The model MUST define, for each field, its unit, whether it is a gauge, and the source field per backend.
  • REQ-METRIC-002 Utilization MUST be stored as percent 0 to 100 regardless of source scale.
  • REQ-METRIC-003 Memory MUST be stored in one documented unit regardless of source unit.
  • REQ-METRIC-004 A missing, unsupported, or stale value MUST be stored as unknown (U), never 0.
  • REQ-METRIC-005 ECC and retired-page values MUST be stored as gauges of the reported total, with counter resets on driver reload documented.
  • REQ-METRIC-006 Each cache row MUST carry observation time, ingestion time, backend, and tool version.
  • REQ-METRIC-007 A field a backend cannot supply MUST be unknown for that backend and MUST NOT be estimated.

Acceptance criteria

  • Unit tests per field and backend, including scale conversion (for example, DCGM utilization declared as a 0.0 to 1.0 ratio).
  • A metric table in docs/ generated from the model matches the code.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: metricsMetric model, units, and unknown valuesphase: 1 nvidiaNVIDIA collection with alertingpriority: highNeeded for its milestonetype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions