Skip to content

Commit 51005fa

Browse files
authored
Merge pull request #571 from flashcatcloud/fix/argocd-integration-e2e
docs(argocd): describe the output of template notify
2 parents 18e7e61 + 4fae5e8 commit 51005fa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • en/on-call/integration/alert-integration/alert-sources
  • zh/on-call/integration/alert-integration/alert-sources

‎en/on-call/integration/alert-integration/alert-sources/argocd.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ kubectl exec -n argocd deploy/argocd-notifications-controller -- \
148148
/usr/local/bin/argocd admin notifications template notify flashduty-health <app-name> --recipient flashduty
149149
```
150150

151-
No error output means Flashduty accepted the request. When the application is `Healthy`, this is a recovery message and creates no alert; in an intermediate state such as `Progressing`, Flashduty ignores it.
151+
The command prints debug logs of the request and response, including the full push URL with its `integration_key`, so do not paste the output anywhere public. A `200 OK` status on the `Received response:` line means Flashduty accepted the request. When the application is `Healthy`, this is a recovery message and creates no alert; in an intermediate state such as `Progressing`, Flashduty ignores it.
152152

153153
</Step>
154154

‎zh/on-call/integration/alert-integration/alert-sources/argocd.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ kubectl exec -n argocd deploy/argocd-notifications-controller -- \
148148
/usr/local/bin/argocd admin notifications template notify flashduty-health <应用名> --recipient flashduty
149149
```
150150

151-
命令没有输出错误即表示 Flashduty 已接受请求。应用当前为 `Healthy` 时这是一条恢复消息,不会生成告警;为 `Progressing` 等中间状态时 Flashduty 直接忽略。
151+
命令会打印请求和响应的调试日志,其中包含完整的推送地址(含 `integration_key`),请不要把输出贴到公开位置。输出中 `Received response:` 一行的状态为 `200 OK` 即表示 Flashduty 已接受请求。应用当前为 `Healthy` 时这是一条恢复消息,不会生成告警;为 `Progressing` 等中间状态时 Flashduty 直接忽略。
152152

153153
</Step>
154154

0 commit comments

Comments
 (0)