+1

Tested following commands

- swctl --debug service list

- swctl service list

- swctl instance ls --service-id=2

- swctl service list

- swctl endpoint ls --service-id=`swctl service ls demo | jq '.[].id' | sed
's/"//g'`


The default time and the added start and end time, the display format is
inconsistent when the data is empty.

Time zone issue has been submitted pr .

 Other works well on my Mac.

Sheng Wu <[email protected]> 于2019年12月4日周三 下午11:24写道:

> Tested following commands
>
> > ./swctl --debug --base-url=http://xxxx
> :8080/graphql service list --start="2019-12-03" --end="2019-12-04"
> > ./swctl --debug --base-url=http://xxxx:8080/graphql --display=yaml
> service list --start="2019-12-03" --end="2019-12-04"
> > swctl --base-url=http://122.112.182.72:8080/graphql  service ls projectC
> | jq '.[0].id' | xargs swctl --base-url=http://122.112.182.72:8080/graphql
> endpoint ls --service-id | jq '.[] | [.id] | join(",")' | xargs swctl
> --base-url=http://122.112.182.72:8080/graphql single-metrics --name
> endpoint_cpm --ids
> > swctl --base-url=http://122.112.182.72:8080/graphql service ls projectC
> > swctl --base-url=http://122.112.182.72:8080/graphql --display=graph
> linear-metrics --name=service_instance_resp_time --id 4
>
> All works well on my Mac. Cool!! Love this. Waiting for others’ test.
>
> Sheng Wu <[email protected]>于2019年12月4日 周三下午3:04写道:
>
> > Update, this is fixed. I will continue on further tests.
> >
> > Sheng Wu 吴晟
> > Twitter, wusheng1108
> >
> >
> > Sheng Wu <[email protected]> 于2019年12月4日周三 下午2:48写道:
> >
> >> I am facing the compiling issue.
> >>
> >> When I am running `make` by following compile document, the following
> >> errors show up
> >> > ?       github.com/apache/skywalking-cli/logger [no test files]
> >> ?       github.com/apache/skywalking-cli/swctl  [no test files]
> >> ?       github.com/apache/skywalking-cli/util   [no test files]
> >> $(go env GOPATH)/bin/go-licenser -version || GO111MODULE=off go get -u
> >> github.com/elastic/go-licenser
> >> /bin/bash:
> >>
> /Users/wusheng/Documents/GitHub/go/src:/Users/wusheng/Documents/GitHub/go/bin/go-licenser:
> >> No such file or directory
> >> $(go env GOPATH)/bin/go-licenser -d -licensor='Apache Software
> Foundation
> >> (ASF)' .
> >> /bin/bash:
> >>
> /Users/wusheng/Documents/GitHub/go/src:/Users/wusheng/Documents/GitHub/go/bin/go-licenser:
> >> No such file or directory
> >> make: *** [license] Error 127
> >>
> >> Even I was trying to install go-licenser manually, through `go get -u
> >> github.com/elastic/go-licenser` <http://github.com/elastic/go-licenser>
> <http://github.com/elastic/go-licenser>.
> >> I got this
> >> > go: finding golang.org/x/net latest
> >> go get: gopkg.in/src-d/[email protected] updating to
> >>         gopkg.in/src-d/[email protected] requires
> >>         gopkg.in/russross/[email protected]: go.mod has non-....v2
> >> module path "github.com/russross/blackfriday/v2" at revision v2.0.1
> >>
> >> Could you tell me what am I missing? I am compiling on MacOS. go version
> >> go1.13.4 darwin/amd64
> >>
> >> Sheng Wu 吴晟
> >> Twitter, wusheng1108
> >>
> >>
> >> kezhenxu94 <[email protected]> 于2019年12月4日周三 下午1:37写道:
> >>
> >>> Sorry the style messes up in the previous email.
> >>>
> >>> Hi the SkyWalking Community:
> >>>
> >>> Since all of the pull requests(issues) in SkyWalking CLI milestone
> 0.1.0
> >>> [1] [2] are merged(closed),
> >>>
> >>>
> >>> it's ready to test and if everything is ok, we should be able to
> release
> >>> the very first version of SkyWalking CLI, 0.1.0 soon.
> >>>
> >>>
> >>> So, now we'll freeze the codebase and won't merge (but you can still
> >>> open) new pull requests until the release is finished.Please do the
> tests
> >>> and feedback the result or send the fixing pull request directly.
> >>>
> >>>
> >>> Tests mainly includes:
> >>> - [ ] `service` command
> >>> - [ ] `instance` command
> >>> - [ ] `endpoint` command
> >>> - [ ] `metrics` command, including `linear-metrics`, `single-metrics`,
> >>> especially the ascii graphs
> >>> - [ ] cross-platform (Linux, MacOS, Windows) compatibilities, if you
> >>> have multiple devices, or docker containers for example.
> >>>
> >>>
> >>> Thanks, everyone. Look forward to the very first version of SkyWalking
> >>> CLI 0.1.0.
> >>>
> >>> [1] https://github.com/apache/skywalking-cli/milestone/1?closed=1
> >>> [2]https://github.com/apache/skywalking/milestone/38?closed=1
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> GitHub @kezhenxu94
> >>> Apache SkyWalking, Apache Dubbo
> >>>
> >>> --
> Sheng Wu 吴晟
>
> Apache SkyWalking
> Apache Incubator
> Apache ShardingSphere, ECharts, DolphinScheduler podlings
> Zipkin
> Twitter, wusheng1108
>

Reply via email to