Get desktop application:
View/edit binary Protocol Buffers messages
gRPC service for the interface between Peloton and QoS advisor
Get the metrics of all hosts in the cluster
(message has no fields)
Map from host name to metric(s) that serve as an abstraction for load
Get all service instances in the cluster along with associated CPU and memory metrics. This API returns a map of host name to services. If a host has at least one impacted service, the API will return all sevices with their associated impact scores and actual resource usage.
(message has no fields)
Map from host name to list of service instances along with resource requirements
Flexible representation of load
Used in:
Score ranges from 0 (least loaded/utilized) to 100 (most loaded/utilized)
Resources represents the set of relevant resources
Used in:
,Number of CPUs (can be fractional, e.g., 3.25 cores)
Amount of memory (bytes)
Abstraction for representing service instances
Used in:
Service identifier - this will be the Peloton job UUID
Instance identifier (can be Mesos task id or pod name or pod id)
Tags will contain information about some QoS specific metadata. These are not the labels in the pod.
Resources used by this service instance
Impact score ranges from 0 to 100 and is a measure of the extent to which a service instance is unable to get the configured resources such as CPU and memory. Higher values mean the service instance is impacted more and 0 means no impact.
List of service instances on a host. Each service instance has an impact score. The impact score ranges from 0 to 100 and is a measure of the extent to which a service instance is unable to get the configured resources such as CPU and memory.
Used in:
List of service instances
Resources that need to be freed up on the host