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/04/27 05:25:15 UTC

[GitHub] [dolphinscheduler] zhuangchong commented on a diff in pull request #9792: [Bug] [Website-9764]add http alert doc and change body param to unnecessary

zhuangchong commented on code in PR #9792:
URL: https://github.com/apache/dolphinscheduler/pull/9792#discussion_r859396642


##########
docs/docs/en/guide/alert/http.md:
##########
@@ -0,0 +1,35 @@
+# HTTP
+
+If you need to use `Http script` for alerting, create an alert instance in the alert instance management and select the `Http` plugin.
+
+## Parameter Configuration
+
+* URL
+  > The `Http` request URL needs to contain protocol, host, path and parameters if the method is `GET`
+* Request Type
+  > Select the request type from `POST` or `GET`
+* Headers
+  > The headers of the `Http` request in JSON format
+* Body
+  > The request body of the `Http` request in JSON format, when using `POST` method to alert
+* Content Field
+  > The field name to place the alert information
+
+## Send Type
+
+Using `POST` and `GET` method to send `Http` request in the `Request Type`.
+
+### GET Http
+
+Send alert information by `Http` GET method.
+GET `Http`告警指将告警结果作为参数通过`Http` GET方法进行请求。

Review Comment:
   please handle



-- 
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