web-app/src/assets/doc/alert-integration/prometheus.ja-JP.md
Prometheus ServerのAlertmanager設定でHertzBeatのサービスアドレスを設定し、HertzBeatを使用してAlertmanagerを置き換え、Prometheus Serverのアラート情報を受信および処理します。
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
- {hertzbeat_host}:1157
authorization:
type: 'Bearer'
credentials: '{token}'
{hertzbeat_host}:1157 は、HertzBeat Server のアドレスとポートです。実際の環境に合わせて設定を修正し、ネットワーク接続が確立されていることを確認してください。{token} は、HertzBeat Server の認証トークンです。新しいトークンを申請した後、置き換えてください。curl -X POST http://localhost:9090/-/reload
curl http://localhost:9090/api/v1/rules
詳細情報は Prometheusアラート設定ドキュメント を参照してください