• S
    prometheus-mixin: remove PrometheusTSDBWALCorruptions · dd174963
    Simon Pasquier 提交于
    The counter is only increased when tsdb.Open() is called which
    Prometheus does only once in its lifetime (when it initializes). If the
    corruption can't be recovered, tsdb.Open() returns an error and
    Prometheus exits. Hence the metric is either 0 (no corruption) or 1
    (corruption detected and repaired). If the latter, the alert isn't
    actionable and the only way to resolve it is to restart Prometheus which
    would reset the counter.
    Signed-off-by: NSimon Pasquier <spasquie@redhat.com>
    dd174963
alerts.libsonnet 10.0 KB