feat(swarm): start the log store with the other required services
Deferred until the collector had a logs pipeline writing to it: a store nothing writes to starts, answers queries and returns nothing, so the first person to look concludes there were no logs rather than that nothing was collecting them.
This commit is contained in:
parent
1af0138928
commit
bfa25c6419
1 changed files with 7 additions and 0 deletions
|
|
@ -71,6 +71,13 @@ in
|
|||
victoriametrics.enable = lib.mkDefault swarmCfg.enableRequiredServices;
|
||||
grafana.enable = lib.mkDefault swarmCfg.enableRequiredServices;
|
||||
|
||||
# The log store, deriving from the same switch for the same reason —
|
||||
# and deliberately in the same commit as the collector pipeline that
|
||||
# writes to it, never before it. A store nothing writes to is worse
|
||||
# than no store: it starts, answers queries, and returns nothing, so
|
||||
# the first person to look concludes there were no logs.
|
||||
victorialogs.enable = lib.mkDefault swarmCfg.enableRequiredServices;
|
||||
|
||||
# The collector that feeds the pair above, and the only tier holding
|
||||
# the upstream credential. Same rule as the rest: once per swarm,
|
||||
# optional, and a hive that is not the service host is a *client* of
|
||||
|
|
|
|||
Loading…
Reference in a new issue