CheF- Metrics Data


#1

Greetings Professionals,

“metadata”: {
“assetType”: ‘aws:ec2:instance’,
“granularity”: ‘hour’,
“keys” [
“assetId”,
“timestamp”,
“memory:free:bytes.avg”,
“memory:free:bytes.max”,

]
}

cpu:used:percent.avg
cpu:used:percent.max
cpu:used:percent.min
memory:free:bytes.avg
memory:free:bytes.min
memory:free:bytes.max

Can chef provide the above metrics i need this information ASAP and please do explain in briefly i need this information for rightsizing purpose as for now cloud health could not integrate aws opswork chef automate server they are asking to provide the above metrics from chef. Please help

Thanks
Prash


#2

Chef does not aggregate metrics on a time based series. You can check which data it collects and sends back to the chef server and also automate by calling ohai on your command line but you would have to collect this data and put it in a time series yourself.
What you are asking for is some kind of metrics collection which has thousands of solutions out there.One of them which I personally can recommend is Netdata (https://github.com/firehol/netdata) in combination with Prometheus (https://github.com/prometheus/prometheus) and Grfana (https://github.com/grafana/grafana).

regards,
Jörg