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 index → npu_index and uuid → npu_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
Problem / Background
PR #176 standardized NVIDIA GPU Prometheus labels from
index/uuidtogpu_index/gpu_uuidacross all GPU exporters. However, non-NVIDIA NPU exporters (Tenstorrent, Rebellions, Furiosa, Gaudi, Google TPU) still use the genericindex/uuidlabels, creating an inconsistent naming convention across the codebase.Goal
Rename
index→npu_indexanduuid→npu_uuid(or device-specific prefixes liketpu_index,gaudi_indexif preferred) across all NPU exporters, mock templates, parser, and API.md, following the same pattern established for GPUs.Scope
src/api/metrics/)src/mock/templates/)Technical Considerations
.or_else(|| labels.get("uuid"))fallback)