Skip to content

fix DCGM field naming in Victoriametrics using regex - #23

Merged
finkandreas merged 2 commits into
finkandreas:mainfrom
sgozel:dcgm-fix-names
Dec 2, 2026
Merged

finkandreas merged 2 commits into
finkandreas:mainfrom
sgozel:dcgm-fix-names

Conversation

@sgozel

@sgozel sgozel commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Update to the ingestion pipeline (early November 2026) added a "_value" postfix to all DCGM fields living in VictoriaMetrics.

Here we fix the DCGM field mapping and allow jobs with the "old" ingestion and the new one.

@sgozel
sgozel requested a review from finkandreas December 2, 2026 07:30
@sgozel sgozel self-assigned this Dec 2, 2026
@sgozel

sgozel commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator Author

@finkandreas this is more critical, as hpcdata currently fails fetching DCGM data from VictoriaMetrics because of the change in the ingestion pipeline and rename of DCGM fields.

@finkandreas

Copy link
Copy Markdown
Owner

In general I agree that this needs fixing, but I would prefer if we have a fat warning that this is just a temporary workaround because of two name that needs matching. In a year from now this should be a fixed name again, and regex matching is something from the past.

Can we have a TODO: Make static name again somewhere in the code, since I do not think that we should have regex matching forever, as it is more confusing why we do it, when there is no different naming scheme anymore.

@sgozel

sgozel commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator Author

@finkandreas as discussed, only allow the new format, in a simple and transparent way.

@finkandreas
finkandreas merged commit 04a1bd2 into finkandreas:main Dec 2, 2026
1 check passed
@sgozel
sgozel deleted the dcgm-fix-names branch December 2, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants