You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "bigben0204 (via GitHub)" <gi...@apache.org> on 2023/04/14 06:45:43 UTC

[GitHub] [doris] bigben0204 opened a new issue, #18668: [Feature] Add a new rest api to query instance host and ip information for query profile action

bigben0204 opened a new issue, #18668:
URL: https://github.com/apache/doris/issues/18668

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Description
   
   Currently the api `GET /rest/v2/manager/query/profile/fragments/{query_id}` can only get these information:
   ```json
   {
       "msg": "success",
       "code": 0,
       "data": [
           {
               "fragment_id": "",
               "time": "",
               "instance_id": {
                   "": ""
               }
           }
       ],
       "count": 0
   }
   ```
   I need to query instance ip and port information like sql:
   ```sql
   mysql> SHOW QUERY PROFILE "/5dcfbc1054a74e8c-ad482d77a5170465/0";
   +-----------------------------------+----------------+------------+
   | Instances                         | Host           | ActiveTime |
   +-----------------------------------+----------------+------------+
   | 5dcfbc1054a74e8c-ad482d77a5170466 | 127.0.0.1:9060 | 11.69ms    |
   +-----------------------------------+----------------+------------+
   1 row in set (0.01 sec)
   ```
   So adding a new api to query instance host ip and port is necessary.
   
   ### Use case
   
   The feature is used for querying host ip and port scenario.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] morningman closed issue #18668: [Feature] Add a new rest api to query instance host and ip information for query profile action in branch master

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #18668: [Feature] Add a new rest api to query instance host and ip information for query profile action in branch master
URL: https://github.com/apache/doris/issues/18668


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org