| 4 Dec 2024 |
Arian | https://github.com/arianvp/nixos-village/blob/main/nix/modules/fluent-bit.nix | 10:26:43 |
Arian | by using freeformType = | 10:26:50 |
Arian | the restartTrigger on user is superfluous | 10:28:03 |
Arian | pretty sure anything that changes the unit file is a restart trigger | 10:28:16 |
Arian | also the grace option seems unused | 10:28:50 |
| 6 Dec 2024 |
| Cees de Groot joined the room. | 16:19:14 |
| adamcstephens joined the room. | 16:20:58 |
| 10 Dec 2024 |
commiterate | grace is used to set the systemd unit's shutdown timeout for graceful shutdown. We could technically exclude it but I'd rather have systemd also have a timeout in case Fluent Bit has some bug. | 18:04:05 |
commiterate | As for adding more structural typing to the config options, it seems like a maintenance burden since we need to keep up with any config schema changes on the Fluent Bit side. | 18:05:06 |
commiterate | * grace is used to set the systemd unit's shutdown timeout for graceful shutdown. We could technically exclude it but I'd rather have systemd also have a timeout in case Fluent Bit has some bug.
We also need it anyways since systemd has a default of 90s.
https://www.freedesktop.org/software/systemd/man/latest/systemd-system.conf.html#DefaultTimeoutStartSec=
| 18:08:35 |
commiterate | * grace is used to set the systemd unit's shutdown timeout for graceful shutdown.
We need it since systemd has a default of 90s.
https://www.freedesktop.org/software/systemd/man/latest/systemd-system.conf.html#DefaultTimeoutStartSec=
| 19:16:17 |
| 13 Dec 2024 |
@sielicki:matrix.org | yes and no -- similar to ENA it's a question of whether the in-tree module should be preferred to the out of tree one. | 04:04:18 |
| 15 Dec 2024 |
commiterate | Should we find a maintainer and try to merge the net-utils Nix package as is (since it seems like it's fine for now) or should we try to submit changes upstream to swap to systemd device units first? | 03:25:59 |
| 16 Dec 2024 |
commiterate | PR: https://github.com/NixOS/nixpkgs/pull/365493 | 04:43:35 |
commiterate | As a related bit, adding more IMDS categories to the built-in AWS filter plugin: https://github.com/fluent/fluent-bit/pull/9727 | 04:45:04 |
commiterate | * Related note: adding more IMDS categories to the built-in AWS filter plugin: https://github.com/fluent/fluent-bit/pull/9727 | 04:45:17 |
Arian | I mean. We can unconditionally include the EFA module in the AWS config I mean | 12:40:24 |
Arian | https://github.com/NixOS/nixpkgs/pull/365690 | 21:20:24 |
| 20 Dec 2024 |
commiterate | Looks like the fluent-bit package has effectively no maintainers. | 03:45:54 |
commiterate | * Looks like the fluent-bit package effectively has no maintainers. | 03:46:36 |
| 0xfeebdaed joined the room. | 04:04:16 |
Arian | Hmm. What do you advise? Should we keep using it?
| 08:44:09 |
Arian | I also noticed that the fluent bit package is a bit wonky (upstream). They vendor all their c dependencies as source code instead of allowing you to link against packages | 08:44:34 |
commiterate | It's honestly uglier than the CloudWatch Agent | 18:46:20 |
commiterate | I'm trying to fix Darwin builds on it right now | 18:46:25 |
commiterate | Is there a better alternative than fluent-bit with systemd-journald and IMDS support? Vector? | 18:49:28 |
commiterate | * Is there a better alternative than fluent-bit with systemd-journald and IMDS support? Vector? OTEL Collector? | 18:51:56 |
commiterate | Vector seems like the most sensible one since it's just as flexible as Fluent-Bit and also performance focused (in Rust). OTEL Collector seems like it's only for OTEL stuff, so spiritually closer to the CloudWatch Agent (also written in Go). | 19:09:05 |
commiterate | I think OTEL Collector might require using the AWS Distro for OpenTelemtry (ADOT) instead for out-of-the-box AWS support. | 19:10:45 |
commiterate | ugh ADOT does the same command package -> binary rename thing as amazon-ec2-metadata-mock | 19:20:18 |