/apps/events/inefficient_apps
Gets total job count per status in a given time window (at one hour intervals).
Request
GET http://unravel-host
:3000/api/v1/apps/events/inefficient_apps?start_time={timestamp}&end_time={timestamp}&entity_type={application type}
Path parameters
None.
Query parameters
Required parameters are highlighted
.
Name | Type | Description | ||||
---|---|---|---|---|---|---|
| string | Start date. Format | ||||
| string | End date. Format | ||||
| integer | Application type. Valid values are:
|
Response body
Name | Type | Description |
---|---|---|
| integer | Entity type |
| string | Event name |
| integer |
Examples
Request:
curl -X GET "http://http://myserver.com:3000/api/v1/apps/events/inefficient_apps/?start_time=2019-03-01&end_time=2019-03-06&entity_type=2" -H "accept: application/json"-H "accept: application/json" -H "Authorization: JWT token
"
Response body:
[ { "entity_type": 0, "event_name": "MRTooLargeMapEvent", "count": 10559 }, { "entity_type": 0, "event_name": "MRTimeBreakdownEvent", "count": 7868 }, { "entity_type": 0, "event_name": "MRTooLargeReduceEvent", "count": 4782 }, { "entity_type": 0, "event_name": "MRTooManyMapEvent2", "count": 2097 }, { "entity_type": 0, "event_name": "MRTooManyReduceEvent2", "count": 1066 }, { "entity_type": 0, "event_name": "LongReduceTasksStartBeforeMapFinishEvent", "count": 21 }, { "entity_type": 0, "event_name": "MRTooFewMapEvent2", "count": 3 }, { "entity_type": 0, "event_name": "MRReduceTimeSkewEvent", "count": 2 }, { "entity_type": 0, "event_name": "MRMapTimeSkewEvent", "count": 1 } ]