Verified Commit 47fe6cc5 authored by anarcat's avatar anarcat 💥
Browse files

retire: raise the silence time to cover for Puppet garbage collection

During the onionoo retirement, onionoo-frontend-01 showed up as having
a stale catalog. I think that's because stale catalogs were left
around and therefore those should be silenced for the retention ("7"
in /etc/puppet/prometheus.yaml.

See also team#41838
parent fa5d8eb4
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -90,7 +90,10 @@ def retire_all(
            f"alias={instance_con.host}",
            f"alias={instance_con.host}",
        ],
        ],
        "silencing all alerts on host to be retired",
        "silencing all alerts on host to be retired",
        ends_at="in 2 days",
        # 7 days is the time it takes for the `puppet_reporter` shim
        # on the Puppet server to expire old records so they stop
        # bugging us in Prometheus.
        ends_at="in 7 days",
    )
    )
    # STEP 1, 3, 4, 5
    # STEP 1, 3, 4, 5
    if parent_host:
    if parent_host: