wu-sheng commented on issue #5290: URL: https://github.com/apache/skywalking/issues/5290#issuecomment-671954781
You should add `lastPingTimestamp` in the [ServiceInstance entity](https://github.com/apache/skywalking-query-protocol/blob/master/metadata.graphqls#L31). This is the time bucket in the backend time format. You could query the service list first, then get all instance lists with this time bucket(in minute level). Then across check with [OAP time info](https://github.com/apache/skywalking-query-protocol/blob/master/metadata.graphqls#L89), you could have the status(alive or not). WDYT? ---------------------------------------------------------------- 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]
