Hi Robin, On 2023/2/2 21:43, Robin Jarry wrote: > Allow fetching CPU cycles usage for all lcores with a single request. > This endpoint is intended for repeated and frequent invocations by > external monitoring systems and therefore returns condensed data. > > It consists of a single dictionary with three keys: "lcore_ids", > "total_cycles" and "busy_cycles" that are mapped to three arrays of > integer values. Each array has the same number of values, one per lcore, > in the same order. > > Example: > > --> /eal/lcore/usage > { > "/eal/lcore/usage": { > "lcore_ids": [ > 4, > 5 > ], > "total_cycles": [ > 23846845590, > 23900558914 > ], > "busy_cycles": [ > 21043446682, > 21448837316 > ] > }
The telemetry should be human-readable also. so why not "/eal/lcore/usage": { "lcore_4" : { "total_cycles" : xxx "busy_cycles" : xxx "busy/total ratio" : "xx%" }, "lcore_5" : { "total_cycles" : yyy "busy_cycles" : yyy "busy/total ratio" : "yy%" }, } > } > ...