You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/02/10 02:49:20 UTC

[GitHub] peng-yongsheng opened a new pull request #804: Provide the getServerThroughput query.

peng-yongsheng opened a new pull request #804: Provide the getServerThroughput query.
URL: https://github.com/apache/incubator-skywalking/pull/804
 
 
   H2 DAO's implementation is empty.
   
   Changed the parameter name from top to topN in getSlowService and getServerThroughput method. 
   
    #### INPUT
   ```
   {
     getServerThroughput(applicationId: 2, duration: {start: "2017-01", end: "2018-02", step: MONTH}, topN: 10) {
       id
       applicationId
       applicationCode
       tps
       name
       host
       pid
       ipv4
     }
   }
   ```
   
    #### OUTPUT
   ```
   {
     "data": {
       "getServerThroughput": [
         {
           "id": "3",
           "applicationId": 2,
           "applicationCode": "dubbox-provider",
           "tps": 0,
           "name": "MacOS X",
           "host": "peng-yongsheng",
           "pid": 1000,
           "ipv4": [
             "10.0.0.1",
             "10.0.0.2"
           ]
         }
       ]
     }
   }
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services