# Prometheus + Instatus

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

1. Ve a [Instatus](https://instatus.com), en Integraciones, selecciona Prometheus
2. Selecciona las plantillas que se usarán al crear y resolver incidencias automáticas
3. Copia la URL del webhook de tu página
4. Configura Alertmanager con un receptor de webhook en el archivo `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. Sustituye `<INSERT-YOUR-WEBHOOK>` por el webhook que generaste antes en el archivo alertmanager.yml y ejecuta Alertmanager con el siguiente comando.

6. Ejecuta Alertmanager con el siguiente comando: `alertmanager --config.file=alertmanager.yml`

¡Listo! 👏
