kezhenxu94 opened a new pull request #12: [Enhancement] List single service by 
service name
URL: https://github.com/apache/skywalking-cli/pull/12
 
 
   When there're too many services in production environment and we just want 
to get only one service id by its service name, this feature will be useful.
   
   ```shell
   skywalking-cli $ ./bin/swctl service list --help
   NAME:
      swctl service list - List services
   
   USAGE:
      swctl service list [command options] <service name>
   
   DESCRIPTION:
      list all services if no <service name> is given, otherwise, only list the 
given service
   
   OPTIONS:
      --start TIME  query start TIME
      --end TIME    query end TIME
   
   skywalking-cli $ ./bin/swctl service list projectD | jq
   [
     {
       "id": "7",
       "name": "projectD"
     }
   ]
   
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to