drop the applied repo: the hive keeps no copy of an agent's config, only the deploy markers. Refs #5913
This commit is contained in:
parent
deeb5ecd86
commit
862495530c
1 changed files with 190 additions and 1634 deletions
|
|
@ -1660,28 +1660,13 @@ in
|
|||
for = "0s";
|
||||
summary = "swarm-controller failed to mint agent {{ $labels.F_AGENT }}'s store identity; the reason is the `F_ERROR` field of the swarm-controller log line";
|
||||
})
|
||||
# Logged once per refused deploy request, by
|
||||
# `apply_rev` in hive-c0re's swarm_status.rs; the window is
|
||||
# how long the rule stays firing after it. Host journal
|
||||
# records carry the tracing fields as `F_<NAME>` and no
|
||||
# `hive` attribute, so the machine is `_HOSTNAME`. The unit
|
||||
# filter keeps out agent logs that quote the message.
|
||||
(logCountRule {
|
||||
uid = "hh-config-rev-refused";
|
||||
title = "config rev refused";
|
||||
windowSeconds = 900;
|
||||
expr = ''_time:15m _SYSTEMD_UNIT:="hive-c0re.service" _msg:"swarm events: rev not applied; nothing queued" | stats by (_HOSTNAME, F_AGENT, F_REV) count() as refusals'';
|
||||
for = "0s";
|
||||
summary = "{{ $labels._HOSTNAME }} refused to deploy merged config commit {{ $labels.F_REV }} of agent {{ $labels.F_AGENT }}; the reason is the `F_ERROR` field of the hive-c0re log line";
|
||||
})
|
||||
# Logged once per detected crash, by `emit_crash_transitions`
|
||||
# in hive-c0re's crash_watch.rs (10s poll interval). Replaces
|
||||
# the old per-hive dashboard `agents_crashing` banner — see
|
||||
# that function's module doc for why the banner went away
|
||||
# in favour of this. Host journal records carry the
|
||||
# tracing fields as `F_<NAME>` and no `hive` attribute,
|
||||
# so the machine is `_HOSTNAME`
|
||||
# (same shape as `hh-config-rev-refused` above). The unit
|
||||
# so the machine is `_HOSTNAME`. The unit
|
||||
# filter keeps out an agent's own log line if one ever
|
||||
# quotes the same message.
|
||||
(logCountRule {
|
||||
|
|
|
|||
Loading…
Reference in a new issue