pin that the hive collector keeps file_storage for its exporter queue without a journald receiver
This commit is contained in:
parent
bcc317e452
commit
5ae0205e1d
1 changed files with 8 additions and 2 deletions
|
|
@ -490,6 +490,11 @@ let
|
|||
&& !(s.receivers ? journald)
|
||||
&& !(lib.elem "journald" s.service.pipelines.logs.receivers)
|
||||
&& lib.elem "otlp" s.service.pipelines.logs.receivers
|
||||
# `file_storage` stays: the exporter queue is on it whether or not a
|
||||
# journald receiver exists.
|
||||
&& s.extensions ? file_storage
|
||||
&& lib.elem "file_storage" s.service.extensions
|
||||
&& s.exporters."otlphttp/swarm".sending_queue.storage == "file_storage"
|
||||
&& hiveOtelSettings.receivers ? journald;
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue