pin the container units in the hive collector's journal allow-list
This commit is contained in:
parent
c9096484d7
commit
e8190a4972
1 changed files with 4 additions and 3 deletions
|
|
@ -455,11 +455,12 @@ let
|
|||
{
|
||||
# Squid rides this fixture because its journal and metrics reach the
|
||||
# swarm through this collector. The allow-list of journal units must stay
|
||||
# exactly the three named: hive-c0re's (control: the list is not just
|
||||
# squid's), squid's and its self-check's.
|
||||
name = "the hive collector forwards the journal of squid, its self-check and hive-c0re and no other unit";
|
||||
# exactly the four named: hive-c0re's (control: the list is not just
|
||||
# squid's), the container units', squid's and its self-check's.
|
||||
name = "the hive collector forwards the journal of squid, its self-check, hive-c0re and the container units and no other unit";
|
||||
ok =
|
||||
lib.sort builtins.lessThan hiveOtelSettings.receivers.journald.units == [
|
||||
"container@*.service"
|
||||
"hive-c0re.service"
|
||||
"squid-selfcheck.service"
|
||||
"squid.service"
|
||||
|
|
|
|||
Loading…
Reference in a new issue