BFergerson edited a comment on pull request #6183:
URL: https://github.com/apache/skywalking/pull/6183#issuecomment-771260649


   I gave this a look and try. The only things I've noticed that seem 
problematic is that `uuid` is not guaranteed to be unique. You can re-use the 
same `uuid` and the event system will accept it. Also, the `queryEvents` 
endpoint allows you to not define the start/end/step. I don't think other 
endpoints allow you not to specify the time range. Seems like it should be 
required.
   
   Also, I don't seem to be able to update events. The following two commands:
   ```
   ./swctl-latest-linux-amd64 event r --uuid uuid3 --service service --name 
name --message message --startTime 1612225542333
   ./swctl-latest-linux-amd64 event r --uuid uuid3 --service service --name 
name --message message --startTime 1612225542333 --endTime 1612225542333
   ```
   
   Results in:
   ```
   {
     "data": {
       "result": {
         "events": [
           {
             "name": "name",
             "source": {
               "service": "service",
               "serviceInstance": "",
               "endpoint": ""
             },
             "startTime": 1612225542333,
             "endTime": 0,
             "message": "message",
             "parameters": [],
             "uuid": "uuid3"
           }
         ]
       }
     }
   }
   ```
   
   I'm using skywalking-cli @ 
https://github.com/apache/skywalking-cli/commit/ae085deb32434a0859e49c45819fed7a5c4010b5


----------------------------------------------------------------
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]


Reply via email to