# Prometheus + Instatus

Source: https://instatus.com/help/ko/integrations/prometheus

1. [Instatus](https://instatus.com)로 이동해 연동에서 Prometheus를 선택하세요
2. 인시던트를 자동으로 생성하고 해결할 때 사용할 템플릿을 선택하세요
3. 페이지의 Webhook URL을 복사하세요
4. `alertmanager.yml` 파일에서 Webhook 리시버로 Alertmanager를 설정하세요.

```yaml
global:
  resolve_timeout: 5m
route:
  receiver: webhook_receiver
receivers:
  - name: webhook_receiver
    webhook_configs:
      - url: "<INSERT-YOUR-WEBHOOK>"
        send_resolved: true
```

5. alertmanager.yml 파일의 `<INSERT-YOUR-WEBHOOK>`을 앞서 생성한 Webhook으로 바꾼 다음 아래 명령으로 Alertmanager를 실행하세요.

6. 다음 명령으로 Alertmanager를 실행하세요: `alertmanager --config.file=alertmanager.yml`

완료되었습니다! 👏
