SAFE-POINT-047 - La Directa selective phase 1 alerts¶
Fecha: 2026-06-17
Metadata¶
- active_repo:
C:\APV\openclawai - safe_point_base:
4d6ff012f3ae0d29964acd6f1af86aa301968003 - openclaw_vps_touched:
true - woo_vps_touched:
false - runtime_deploy_executed:
true - prometheus_runtime_reloaded:
true - grafana_runtime_reloaded:
false - alert_rule_runtime_deployed:
true - dashboards_promoted:
false
Objetivo¶
Activar en runtime O4 solo estas alertas para La Directa:
EcommerceLaDirectaStoreDownEcommerceLaDirectaCartDownEcommerceLaDirectaMyAccountDown
Sin activar otras alertas candidatas y sin tocar dashboards.
SAFE POINT inicial¶
- repo local:
C:\APV\openclawai git status -sb:## main...origin/maingit rev-parse HEAD:4d6ff012f3ae0d29964acd6f1af86aa301968003- ultimo commit visible:
observability: audit ladirecta phase 1 promotion
Precondiciones validadas en Prometheus¶
probe_success{job="blackbox-http",instance="https://ladirecta.com.ar/tienda/"}:1probe_http_status_code{job="blackbox-http",instance="https://ladirecta.com.ar/tienda/"}:200probe_success{job="blackbox-http",instance="https://ladirecta.com.ar/carrito/"}:1probe_http_status_code{job="blackbox-http",instance="https://ladirecta.com.ar/carrito/"}:200probe_success{job="blackbox-http",instance="https://ladirecta.com.ar/mi-cuenta/"}:1probe_http_status_code{job="blackbox-http",instance="https://ladirecta.com.ar/mi-cuenta/"}:200ALERTS{alertname="EcommerceLaDirectaArRedirectBroken",alertstate="firing"}: vacio
Archivo modificado¶
infra/observability/prometheus/rules/service-alerts.yml- impacto: agrega solo las tres reglas runtime de paginas criticas con
expresion
probe_success != 1 OR probe_http_status_code != 200,for: 3my labels/annotations consistentes con O4
Reglas activadas¶
EcommerceLaDirectaStoreDown- target:
https://ladirecta.com.ar/tienda/ EcommerceLaDirectaCartDown- target:
https://ladirecta.com.ar/carrito/ EcommerceLaDirectaMyAccountDown- target:
https://ladirecta.com.ar/mi-cuenta/
Reglas explicitamente no activadas¶
EcommerceLaDirectaPrimarySiteDownEcommerceLaDirectaSslExpirySoonPhase1EcommerceLaDirectaHighLatencyPhase1
Backup runtime¶
- directorio:
/opt/stacks/observability/backups/20260617-175110-safe-point-047 - contenido:
prometheus.ymlrules/service-alerts.ymlSHA256SUMS.txtSHA256SUMS.txt:a17acbb07f924625a4ee9f2d86f69df56d8ab469c1842fbeebc364611ee26cbdprometheus.yml47bc0d2d1b5138fb89965e241e81002395424c9fe962a33f618d08acbc61c193rules/service-alerts.yml
Validaciones previas a runtime¶
docker exec obs-prometheus promtool check rules /tmp/service-alerts.safe-point-047.yml:PASSdocker exec obs-prometheus promtool check config /etc/prometheus/prometheus.yml:PASS
Runtime aplicado¶
- sync controlado:
- origen:
C:\APV\openclawai\infra\observability\prometheus\rules\service-alerts.yml->openclaw-vps:/tmp/service-alerts.safe-point-047.yml - destino:
/opt/stacks/observability/prometheus/rules/service-alerts.yml - reload controlado:
POST /-/reloadsolo enobs-prometheus- no se reinician servicios
Validacion runtime¶
/api/v1/rules: visiblesEcommerceLaDirectaStoreDown,EcommerceLaDirectaCartDownyEcommerceLaDirectaMyAccountDownALERTS{alertname=~"EcommerceLaDirecta(StoreDown|CartDown|MyAccountDown)"}: vacio o nofiring- probes posteriores:
tienda:probe_success=1,probe_http_status_code=200carrito:probe_success=1,probe_http_status_code=200mi-cuenta:probe_success=1,probe_http_status_code=200EcommerceLaDirectaArRedirectBroken: sigue sinfiringss -ltn '( sport = :9090 or sport = :9093 )': sin listeners host paraPrometheusyAlertmanager
Alcance preservado¶
- no se toco
C:\APV\vps-woocommerce-ladirecta - no se toco VPS WooCommerce,
WordPressniWooCommerce - no se tocaron DNS,
Cloudflare, firewall ni secretos - no se toco
SOURCE-003 - no se tocaron dashboards
Grafana - no se tocaron
Blackbox,Alertmanager,Thanos,Node Exporter,cAdvisorniNPM - no hubo
push - no hubo deploy del Knowledge Portal