Repository navigation
Conversation
rather than GetDcgmMetric
- in anticipation of future developments
finkandreas
reviewed
Nov 27, 2026
| // VictoriaMetrics vmstat metrics | ||
| reqHandler.HandleFunc("/metrics/{system_name}/{job_id}/node/{metric_name}", handler.GetVMVmstatHandler(config, esclient, vmclient)) | ||
| reqHandler.HandleFunc("/metrics/{system_name}/{job_id}/{node_id}/node/{metric_name}", handler.GetVMVmstatHandler(config, esclient, vmclient)) | ||
|
|
Owner
There was a problem hiding this comment.
Personally I do not like that we expose "random" names here.
I would prefer if there is an endpoint /node/memory, which returns the memory information all at once, and not 4 calls node/mem_{buff,cache,free,swpd}
The idea is not to have a 1:1 mapping from hpcdata to victoriametrics. The metrics should reflect something that by itself would be interesting. E.g. mem_free by itself is not of interest, because mem_buff and mem_cached would need to be fetched too, to get a feeling how much actual memory could still be used by the application.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.