Skip to content

update metrics for hami 2.9.0#91

Merged
Nimbus318 merged 2 commits into
Project-HAMi:mainfrom
FouoF:update-metrics
May 9, 2026
Merged

update metrics for hami 2.9.0#91
Nimbus318 merged 2 commits into
Project-HAMi:mainfrom
FouoF:update-metrics

Conversation

@FouoF

@FouoF FouoF commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Project-HAMi/HAMi#1644 update metrics names and labels and it will release as default configuration in v2.9.0. The HAMi-WebUI should also adapt the new metrics.

Because of this change, HAMi-WebUI v1.1.1 will not support HAMi version < 2.9.0. This is acceptable for HAMi-WebUI will not depended by other components and the old version is still available.

@hami-robot

hami-robot Bot commented Apr 27, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: FouoF

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Jifei Wang <jifei.wang@dynamia.ai>
@Nimbus318

Copy link
Copy Markdown
Collaborator

Could you also add a version compatibility table to the installation docs?

This PR switches HAMi-WebUI to the HAMi 2.9.0 metrics schema, so the latest WebUI will no longer work with older HAMi versions. The current Helm installation guide still says HAMi >= 2.4.0, which may mislead users during upgrades.

Suggested location: docs/installation/helm/index.md, under Prerequisites, either replacing the current HAMi requirement or adding a short Version compatibility subsection right after it.

Suggested table:

HAMi-WebUI version Supported HAMi version Metrics schema Notes
<= v1.1.0 >= 2.4.0, < 2.9.0 old labels: deviceuuid, devicetype, podnamespace, podname, ctrname For existing HAMi deployments before the metrics rename
v1.1.1+ >= 2.9.0 new labels: device_uuid, device_type, namespace, pod, container Required after the HAMi 2.9.0 metrics rename

Signed-off-by: Jifei Wang <jifei.wang@dynamia.ai>
@FouoF

FouoF commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

@Nimbus318 done

@Nimbus318 Nimbus318 merged commit 21f2662 into Project-HAMi:main May 9, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants