You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/06/24 07:24:23 UTC

[GitHub] [dolphinscheduler] SbloodyS opened a new pull request, #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

SbloodyS opened a new pull request, #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592

   <!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.-->
   
   
   ## Purpose of the pull request
   
   close #10589


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] zhongjiajie commented on pull request #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on PR #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592#issuecomment-1165342909

   We should better add a blank new line between markdown title and content


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] zhongjiajie commented on pull request #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on PR #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592#issuecomment-1165345408

   BTW, should we add some content to notice users have to change the host and port if their change the default value


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] zhongjiajie merged pull request #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

Posted by GitBox <gi...@apache.org>.
zhongjiajie merged PR #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] SbloodyS commented on pull request #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on PR #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592#issuecomment-1165345497

   > We should better add a blank new line between markdown title and content
   
   Thanks. 


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] SbloodyS commented on pull request #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on PR #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592#issuecomment-1165348898

   > BTW, should we add some content to notice users have to change the host and port if their change the default value
   
   I'll add it.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] zhongjiajie commented on a diff in pull request #10592: [Feature-10589] [Doc] Add doc about how to use healthcheck endpoints

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on code in PR #10592:
URL: https://github.com/apache/dolphinscheduler/pull/10592#discussion_r905847504


##########
docs/docs/en/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# Health Check
+
+## Background
+
+Health check are designed to provide a unique way to check the health of the dolphinscheduler service. It includes the health status of modules, such as DB, cache, network, etc.
+
+## Endpoint
+
+### API-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/en/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# Health Check
+
+## Background
+
+Health check are designed to provide a unique way to check the health of the dolphinscheduler service. It includes the health status of modules, such as DB, cache, network, etc.
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell
+curl --request GET 'http://localhost:5679/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Worker-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/en/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# Health Check
+
+## Background
+
+Health check are designed to provide a unique way to check the health of the dolphinscheduler service. It includes the health status of modules, such as DB, cache, network, etc.
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell
+curl --request GET 'http://localhost:5679/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Worker-Server
+```shell
+curl --request GET 'http://localhost:1235/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Alert-Server
+```shell
+curl --request GET 'http://localhost:50053/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+

Review Comment:
   ```suggestion
   
   ```



##########
docs/docs/en/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# Health Check
+
+## Background
+
+Health check are designed to provide a unique way to check the health of the dolphinscheduler service. It includes the health status of modules, such as DB, cache, network, etc.
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/zh/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# 健康检查
+
+## 背景
+
+运行状况检查旨在提供一种独特的方法来检查 Dolphinscheduler 服务的运行状况。它包括模块的运行状况,例如 DB、缓存、网络等等。
+
+## Endpoint
+
+### API-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/zh/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# 健康检查
+
+## 背景
+
+运行状况检查旨在提供一种独特的方法来检查 Dolphinscheduler 服务的运行状况。它包括模块的运行状况,例如 DB、缓存、网络等等。
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/zh/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# 健康检查
+
+## 背景
+
+运行状况检查旨在提供一种独特的方法来检查 Dolphinscheduler 服务的运行状况。它包括模块的运行状况,例如 DB、缓存、网络等等。
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell
+curl --request GET 'http://localhost:5679/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Worker-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/en/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# Health Check
+
+## Background
+
+Health check are designed to provide a unique way to check the health of the dolphinscheduler service. It includes the health status of modules, such as DB, cache, network, etc.
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell
+curl --request GET 'http://localhost:5679/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Worker-Server
+```shell
+curl --request GET 'http://localhost:1235/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Alert-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/zh/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# 健康检查
+
+## 背景
+
+运行状况检查旨在提供一种独特的方法来检查 Dolphinscheduler 服务的运行状况。它包括模块的运行状况,例如 DB、缓存、网络等等。
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell
+curl --request GET 'http://localhost:5679/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Worker-Server
+```shell
+curl --request GET 'http://localhost:1235/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Alert-Server
+```shell

Review Comment:
   ```suggestion
   
   ```shell
   ```



##########
docs/docs/zh/guide/healthcheck.md:
##########
@@ -0,0 +1,37 @@
+# 健康检查
+
+## 背景
+
+运行状况检查旨在提供一种独特的方法来检查 Dolphinscheduler 服务的运行状况。它包括模块的运行状况,例如 DB、缓存、网络等等。
+
+## Endpoint
+
+### API-Server
+```shell
+curl --request GET 'http://localhost:12345/dolphinscheduler/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Master-Server
+```shell
+curl --request GET 'http://localhost:5679/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Worker-Server
+```shell
+curl --request GET 'http://localhost:1235/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+### Alert-Server
+```shell
+curl --request GET 'http://localhost:50053/actuator/health'
+
+{"status":"UP","components":{"db":{"status":"UP","details":{"database":"H2","validationQuery":"isValid()"}}}}
+```
+
+

Review Comment:
   ```suggestion
   
   ```



-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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