You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/08/18 07:36:46 UTC

[GitHub] [skywalking] AngryMills opened a new issue #7480: graphql's response has repeated data (services or endpoints)

AngryMills opened a new issue #7480:
URL: https://github.com/apache/skywalking/issues/7480


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [√] Question or discussion
   - [√] Bug
   
   ___
   ### Question
   - What do you want to know?
   uri: /graphql
   parameters: {"query":"query queryServices($duration: Duration!,$keyword: String!) {\n    services: getAllServices(duration: $duration, group: $keyword) {\n      key: id\n      label: name\n      group\n    }\n  }","variables":{"duration":{"start":"2021-08-18 1359","end":"2021-08-18 1429","step":"MINUTE"},"keyword":""}}
   response:
   {"data":{"services":[{"key":"YXJjaC1hcHAtZmxvdw==.1","label":"arch-app-flow","group":""},{"key":"YXJjaC1hcHAtZmxvdw==.1","label":"arch-app-flow","group":""}]}}
   repeated services have same keys and labels.
   ![image](https://user-images.githubusercontent.com/19707438/129856190-17672707-eb2f-41ea-b5f9-e4455f1a092d.png)
   
   
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   skywalking 8.6.0
   centos 7
   jdk 8
   
   - What happened?
   I don't know how this happened,maybe add some code to remove duplicate data in query-graphql-plugin?
   I find that, graphql  of query queryEndpoints has the same problem.
   ![image](https://user-images.githubusercontent.com/19707438/129857045-6e735051-c75d-463f-ae0d-4febc0b9728a.png)
   
   ___
   Thanks for answering.
   


-- 
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: notifications-unsubscribe@skywalking.apache.org

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



[GitHub] [skywalking] wu-sheng closed issue #7480: graphql's response has repeated data (services or endpoints)

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7480:
URL: https://github.com/apache/skywalking/issues/7480


   


-- 
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: notifications-unsubscribe@skywalking.apache.org

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



[GitHub] [skywalking] wu-sheng closed issue #7480: graphql's response has repeated data (services or endpoints)

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7480:
URL: https://github.com/apache/skywalking/issues/7480


   


-- 
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: notifications-unsubscribe@skywalking.apache.org

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