Details
Description
Allocation metrics are currently hard-coded to include only ["cpus", "mem", "disk"] resources. We'll need to add "gpus" to the list to start, possibly following up on the TODO to remove the hard-coding.
See:
https://github.com/apache/mesos/blob/0.27.0/src/master/metrics.cpp#L266-L269
https://github.com/apache/mesos/blob/0.27.0/src/slave/metrics.cpp#L123-L126