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
|
|
@ -290,9 +290,14 @@ in
|
|||
}
|
||||
// lib.optionalAttrs (cfg.protocol == "http/json") { encoding = "json"; };
|
||||
|
||||
processors."filter/drop-own-export-failures" = import ../collector-own-export-failures.nix;
|
||||
|
||||
service.pipelines.logs = {
|
||||
receivers = [ "journald" ];
|
||||
processors = [ "resource" ];
|
||||
processors = [
|
||||
"filter/drop-own-export-failures"
|
||||
"resource"
|
||||
];
|
||||
exporters = [ logExporter ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue