Inline
> 在 2019年6月20日,下午11:25,Roy Zhang <[email protected]> 写道: > > Thanks Sheng! Actually I want to query ART and throughput for given API(s) > during given period. Maybe I will have more requirements in the future. > Regarding graphQL client tool, I could find some tools via Google (e.g, > https://chrome.google.com/webstore/detail/altair-graphql-client/flnheeellpciglgpaodhkhmapeljopja?hl=en > ,https://github.com/chentsulin/awesome-graphql, etc). >>>> and run some query to OAP Restful-port directly > Could u please provide one example (one example is enough for me)? What’s I use GraphiQL on Mac, this is endpoint http://localhost:12800/graphql <http://localhost:12800/graphql> The Query looks like this. { getEndpointTopology(duration:{step:MINUTE, start: "2019-05-13 2100", end: "2019-05-13 2130"}, endpointId: 5){ nodes{ id type isReal name }, calls{ id detectPoints source target sourceComponents targetComponents } } } Actually, if you have the right tool, and connected to the right endpoint, should have content assist there. > the port number of OAP Restful-port? The configurations in application.yml core: default: restHost: ${SW_CORE_REST_HOST:0.0.0.0} restPort: ${SW_CORE_REST_PORT:12800}. <— This is the port used for GraphQL. > > Really appreciate ur great help in advance! > > Roy(Jia) Zhang > > On Thu, Jun 20, 2019 at 9:07 PM Sheng Wu <[email protected]> wrote: > >> Which part do you need helps? >> I could find GraphQL client tool, and run some query to OAP Restful-port >> directly. >> >> Sheng Wu >> Apache Skywalking, ShardingSphere, Zipkin >> >> >> >>> 在 2019年6月20日,下午6:59,Roy Zhang <[email protected]> 写道: >>> >>> Hi Sheng, >>> >>> Thanks for providing kind guide! Could u please kindly let me know how >> can >>> I try these queries? I did some research, didn't find any clue... >>> >>> Thanks in advance! >>> >>> Thanks, >>> Roy(Jia) Zhang >>> >>> On Wed, Jun 19, 2019 at 10:51 AM Sheng Wu <[email protected]> >> wrote: >>> >>>> Hi >>>> >>>> Query protocol[1] is the thing you are asking. You could find the >>>> definition there. >>>> The GraphQL protocol has been defined and tagged in this repo[2] >>>> >>>> Highly recommend you to read `what is OAL` before you try these >> query(s). >>>> >>>> >>>> [1] >>>> >> https://github.com/apache/skywalking/blob/master/docs/en/protocols/README.md#query-protocol >>>> < >>>> >> https://github.com/apache/skywalking/blob/master/docs/en/protocols/README.md#query-protocol >>>>> >>>> [2] https://github.com/apache/skywalking-query-protocol < >>>> https://github.com/apache/skywalking-query-protocol> >>>> Sheng Wu >>>> Apache Skywalking, ShardingSphere, Zipkin >>>> >>>> >>>> >>>>> 在 2019年6月19日,上午10:47,Roy Zhang <[email protected]> 写道: >>>>> >>>>> Hi Skywalking experts, >>>>> >>>>> Is there any API to get metrics in Skywalking UI? Could u please share >>>>> document/examples? >>>>> >>>>> Thanks in advance! >>>>> >>>>> Thanks, >>>>> Roy(Jia) Zhang >>>> >>>> >> >> Sheng Wu Apache Skywalking, ShardingSphere, Zipkin
