eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhao, Qingwen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (EAGLE-834) Add Daily Job Summery Report
Date Thu, 15 Dec 2016 06:31:58 GMT

    [ https://issues.apache.org/jira/browse/EAGLE-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15747891#comment-15747891
] 

Zhao, Qingwen edited comment on EAGLE-834 at 12/15/16 6:31 AM:
---------------------------------------------------------------

List some queries for fetching the job data

* Get job summary info groupby by job finished status

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @endTime<=1481685117797]<@currentState>{count}&pageSize=2147483647&startTime=2016-12-14
02:11:57&endTime=2016-12-14 03:11:57&treeAgg=false

* Get users order by number of failed jobs 

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @currentState="FAILED"
and @endTime<=1481693574521]<@user>{count}.{count desc}\&pageSize=2147483647&startTime=2016-12-14
04:32:54&endTime=2016-12-14 05:32:54&treeAgg=false

* Get users order by number of succeeded jobs running over 6 hours

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @currentState="SUCCEEDED"
and @durationTime>21600000 and @endTime<=1481693574521]<@user>{count}.{count desc}&pageSize=2147483647&startTime=2016-12-14
04:32:54&endTime=2016-12-14 05:32:54&treeAgg=false

* Get users order by number of total finished jobs 

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @endTime<=1481675748937]<@user>{count}\\.{count
desc}&pageSize=2147483647&startTime=2016-12-13 12:35:48&endTime=2016-12-14 00:35:48&treeAgg=false


was (Author: qingwzhao):
List some queries for fetching the job data

* Get job summary info groupby by job finished status

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @endTime<=1481685117797]<@currentState>{count}&pageSize=2147483647&startTime=2016-12-14
02:11:57&endTime=2016-12-14 03:11:57&treeAgg=false

* Get users order by number of failed jobs 

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @currentState="FAILED"
and @endTime<=1481693574521]<@user>{count}.{count desc}\&pageSize=2147483647&startTime=2016-12-14
04:32:54&endTime=2016-12-14 05:32:54&treeAgg=false

* Get users order by number of succeeded jobs running over 6 hours

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @currentState="SUCCEEDED"
and @durationTime>21600000 and @endTime<=1481693574521]<@user>{count}.{count desc}&pageSize=2147483647&startTime=2016-12-14
04:32:54&endTime=2016-12-14 05:32:54&treeAgg=false

* Get users order by number of total finished jobs 

http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @endTime<=1481675748937]<@user>{count}/.{count
desc}&pageSize=2147483647&startTime=2016-12-13 12:35:48&endTime=2016-12-14 00:35:48&treeAgg=false

> Add Daily Job Summery Report
> ----------------------------
>
>                 Key: EAGLE-834
>                 URL: https://issues.apache.org/jira/browse/EAGLE-834
>             Project: Eagle
>          Issue Type: New Feature
>            Reporter: Zhao, Qingwen
>            Assignee: Zhao, Qingwen
>
> * Extend Application framework to support application to register ManagedTask into eagle
server (refer to Application HealthCheck registry approach)
> * Register a daily job report task to MRJobApplication.
> * Add configurations in application to control the behavior:
>      * Daily job report enable/disable
>      * Report receipt email address
>      * Report frequency (24 hour by default)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message