peng-yongsheng opened a new pull request #810: Provide the loadAlarmList query.
URL: https://github.com/apache/incubator-skywalking/pull/810
 
 
   H2 DAO's implementation is empty.
   
    #### INPUT
   ```
   {
     loadAlarmList(keyword: "", alarmType: APPLICATION, duration: {start: 
"2017-01", end: "2018-02", step: MONTH}, paging: {pageNum: 0, pageSize: 10}) {
       total
       items {
         id
         title
         content
         startTime
         alarmType
         causeType
       }
     }
   }
   ```
   
    #### OUTPUT
   ```
   {
     "data": {
       "loadAlarmList": {
         "total": 2,
         "items": [
           {
             "id": "1_1_2",
             "title": "",
             "content": "",
             "startTime": "2017-08-04 22:48",
             "alarmType": "APPLICATION",
             "causeType": "SLOW_RESPONSE"
           },
           {
             "id": "1_1_-1",
             "title": "",
             "content": "",
             "startTime": "2017-08-04 22:48",
             "alarmType": "APPLICATION",
             "causeType": "SLOW_RESPONSE"
           }
         ]
       }
     }
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to