Karta.PromEx.KeptStorage (Karta v1.0.0)

Metrics of the storage Kantoor asked Karta to keep (Karta.Kantoor.KeptStorage), part of the PromEx plugins only while the Kantoor flag is on:

  • karta_kantoor_kept_storage_bytes{server_id} and karta_kantoor_kept_storage_messages{server_id} - what the server's kept messages take, read from the database every 60 seconds;
  • karta_kantoor_kept_storage_cap_bytes{server_id} - the server's cap, for servers that have one;
  • karta_kantoor_keep_refused_total{server_id} - keep policies refused because of the cap (counted on each node).

Karta does not alert; operators do, e.g.

karta_kantoor_kept_storage_bytes / karta_kantoor_kept_storage_cap_bytes > 0.8
increase(karta_kantoor_keep_refused_total[1h]) > 0