forked from DataDog/dd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kubernetes: Add CPU and memory capacity reporting (DataDog#2935)
* Add patch from DataDog#2908 DataDog#2908 to beter handle units. * Port change from DataDog/dd-agent DataDog#2766 * Move machine info URL management into kubeutil * Update kubernetes tests for capacity data.
- Loading branch information
1 parent
5a2be69
commit 88fd8ca
Showing
4 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"num_cores":2,"cpu_frequency_khz":2400080,"memory_capacity":8391204864,"machine_id":"abcabcabcabcabcabcabcabcabcabcab","system_uuid":"ABCABCAB-ABCA-ABCA-ABCA-ABCABCABCABC","boot_id":"abcabcab-abca-abca-abca-abcabcabcabc","filesystems":[{"device":"/dev/xvda1","capacity":338067161088,"type":"vfs","inodes":20971520}],"disk_map":{"202:0":{"name":"xvda","major":202,"minor":0,"size":343597383680,"scheduler":"cfq"}},"network_devices":[{"name":"eth0","mac_address":"00:11:22:33:44:55","speed":10000,"mtu":9001}],"topology":[{"node_id":0,"memory":8391204864,"cores":[{"core_id":0,"thread_ids":[0,1],"caches":[{"size":32768,"type":"Data","level":1},{"size":32768,"type":"Instruction","level":1},{"size":262144,"type":"Unified","level":2}]}],"caches":[{"size":31457280,"type":"Unified","level":3}]}],"cloud_provider":"AWS","instance_type":"m4.large","instance_id":"i-abcabcab"} |
This file contains 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
This file contains 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