Skip to content

enhancement: Standardize NPU Prometheus label names to npu_index/npu_uuid #177

Description

@inureyes

Problem / Background

PR #176 standardized NVIDIA GPU Prometheus labels from index/uuid to gpu_index/gpu_uuid across all GPU exporters. However, non-NVIDIA NPU exporters (Tenstorrent, Rebellions, Furiosa, Gaudi, Google TPU) still use the generic index/uuid labels, creating an inconsistent naming convention across the codebase.

Goal

Rename indexnpu_index and uuidnpu_uuid (or device-specific prefixes like tpu_index, gaudi_index if preferred) across all NPU exporters, mock templates, parser, and API.md, following the same pattern established for GPUs.

Scope

  • Update label names in all NPU exporters (src/api/metrics/)
  • Update NPU mock templates (src/mock/templates/)
  • Update remote parser to accept both old and new label names (backward compatibility)
  • Update API.md metric tables
  • Note as a BREAKING change in the changelog

Technical Considerations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions