otel: collectors drop their own export-failure lines instead of shipping them
This commit is contained in:
parent
f5e99fe248
commit
3fa926d7d6
1 changed files with 115 additions and 3 deletions
|
|
@ -1507,6 +1507,7 @@ in
|
|||
receivers = [ "journald" ] ++ map (n: "otlp/${n}") serviceProducerNames;
|
||||
processors = [
|
||||
"filter/exclude-user-sessions"
|
||||
"filter/drop-own-export-failures"
|
||||
"resource/${swarmTierName}"
|
||||
];
|
||||
exporters = logExporterNames;
|
||||
|
|
@ -1730,6 +1731,10 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# The host journal carries the host collector's own unit; see
|
||||
# ../collector-own-export-failures.nix.
|
||||
"filter/drop-own-export-failures" = import ../collector-own-export-failures.nix;
|
||||
|
||||
# The store exporter's own failure lines cannot reach the
|
||||
# store, and re-feeding them to it repeats the failure.
|
||||
# Failures of any other exporter pass. `body` is the journal
|
||||
|
|
|
|||
Loading…
Reference in a new issue