From abadc2996395c65c6e501c4ab8dd95225efb5eec Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Sun, 15 Aug 2021 23:05:39 +0800 Subject: [PATCH] Add alarm notification configuration. --- .../src/main/resources/application.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dynamic-threadpool-example/src/main/resources/application.yaml b/dynamic-threadpool-example/src/main/resources/application.yaml index 112530d2..61e89dda 100644 --- a/dynamic-threadpool-example/src/main/resources/application.yaml +++ b/dynamic-threadpool-example/src/main/resources/application.yaml @@ -2,10 +2,16 @@ server: port: 8088 spring: + profiles: + active: dev application: name: dynamic-threadpool-example dynamic: thread-pool: + alarms: + - type: DING + url: https://oapi.dingtalk.com/robot/send?access_token= + token: 4a582a588a161d6e3a1bd1de7eea9ee9f562cdfcbe56b6e72029e7fd512b2eae server-addr: http://localhost:6691 namespace: common item-id: message-center