Skip to content

Add vmstat data from VictoriaMetrics - #18

Open
sgozel wants to merge 28 commits into
finkandreas:mainfrom
sgozel:node-data
Open

sgozel wants to merge 28 commits into
finkandreas:mainfrom
sgozel:node-data

Conversation

@sgozel

@sgozel sgozel commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread hpcdata.go
// 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))

@finkandreas finkandreas Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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