You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2020/07/06 14:15:18 UTC
[skywalking-query-protocol] branch health-check created (now
2cba92f)
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch health-check
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git.
at 2cba92f Add health check query
This branch includes the following new commits:
new 2cba92f Add health check query
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-query-protocol] 01/01: Add health check query
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch health-check
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git
commit 2cba92febd169970ffde88c765cffd5aaf73e7f9
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Mon Jul 6 22:14:30 2020 +0800
Add health check query
Signed-off-by: Gao Hongtao <ha...@gmail.com>
---
common.graphqls | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/common.graphqls b/common.graphqls
index 2897449..ce6ee5d 100644
--- a/common.graphqls
+++ b/common.graphqls
@@ -100,3 +100,16 @@ enum DetectPoint {
SERVER
PROXY
}
+
+type HealthStatus {
+ # 0 means healthy, more than 0 means unhealthy
+ # and less than 0 means oap doesn't startup.
+ score: Int!
+ # some details about the score value.
+ details: String
+}
+
+extend type Query {
+ # Query Health Checker module for the status of OAP server
+ checkHealth(): HealthStatus!
+}