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 2020/06/11 16:02:57 UTC
[GitHub] [skywalking] wu-sheng opened a new issue #4912: Query happens when these is no available services/database
wu-sheng opened a new issue #4912:
URL: https://github.com/apache/skywalking/issues/4912
In entity, the scope should match the condition, right now, even no service(dashboard or database), the query still happens, but serviceName as NULL. UI should not do this query.
```
input Entity {
# 1. scope=All, no name is required.
# 2. scope=Service, ServiceInstance and Endpoint, set neccessary serviceName/serviceInstanceName/endpointName
# 3. Scope=ServiceRelation, ServiceInstanceRelation and EndpointRelation
# serviceName/serviceInstanceName/endpointName is/are the source(s)
# destServiceName/destServiceInstanceName/destEndpointName is/are destination(s)
# set necessary names of sources and destinations.
scope: Scope!
serviceName: String
# Normal service is the service having installed agent or metrics reported directly.
# Unnormal service is conjectural service, usually detected by the agent.
normal: Boolean
serviceInstanceName: String
endpointName: String
destServiceName: String
# Normal service is the service having installed agent or metrics reported directly.
# Unnormal service is conjectural service, usually detected by the agent.
destNormal: Boolean
destServiceInstanceName: String
destEndpointName: String
}
```
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng commented on issue #4912: Query happens when these is no available services/database
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4912:
URL: https://github.com/apache/skywalking/issues/4912#issuecomment-642999481

This is a typical example of an illegal query. I have added the backend check. But the issue is, parent service could be missed in sort and sampled record query(s)

So, the best choice would be, if there is not service/database available, please don't do the query from the UI.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng closed issue #4912: Query happens when these is no available services/database
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #4912:
URL: https://github.com/apache/skywalking/issues/4912
----------------------------------------------------------------
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:
users@infra.apache.org