- All Implemented Interfaces:
- RequestHandler
public class JobVertexMetricsHandler
extends AbstractMetricsHandler
Request handler that returns for a given task a list of all available metrics or the values for a set of metrics.
If the query parameters do not contain a "get" parameter the list of all metrics is returned.
{"available": [ { "name" : "X", "id" : "X" } ] }
If the query parameters do contain a "get" parameter a comma-separate list of metric names is expected as a value.
/get?X,Y
The handler will then return a list containing the values of the requested metrics.
[ { "id" : "X", "value" : "S" }, { "id" : "Y", "value" : "T" } ]