# Prometheus + Instatus

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

1. Vai su [Instatus](https://instatus.com), nella sezione Integrazioni scegli Prometheus
2. Scegli i modelli da usare per creare e risolvere gli incidenti automatici
3. Copia l'URL webhook della tua pagina
4. Configura Alertmanager con un receiver webhook nel file `alertmanager.yml`.

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

5. Sostituisci `<INSERT-YOUR-WEBHOOK>` nel file alertmanager.yml con il webhook che hai generato prima ed esegui Alertmanager con il comando seguente.

6. Esegui Alertmanager con questo comando: `alertmanager --config.file=alertmanager.yml`

Fatto! 👏
