!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
15 Servers

Load older messages


SenderMessageTime
20 Dec 2024
@arianvp:matrix.orgArianI 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 packages08:44:34
@commiterate:matrix.orgcommiterateIt's honestly uglier than the CloudWatch Agent18:46:20
@commiterate:matrix.orgcommiterateI'm trying to fix Darwin builds on it right now18:46:25
@commiterate:matrix.orgcommiterateIs there a better alternative than fluent-bit with systemd-journald and IMDS support? Vector?18:49:28
@commiterate:matrix.orgcommiterate* Is there a better alternative than fluent-bit with systemd-journald and IMDS support? Vector? OTEL Collector?18:51:56
@commiterate:matrix.orgcommiterateVector 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:matrix.orgcommiterateI think OTEL Collector might require using the AWS Distro for OpenTelemtry (ADOT) instead for out-of-the-box AWS support.19:10:45
@commiterate:matrix.orgcommiterateugh ADOT does the same command package -> binary rename thing as amazon-ec2-metadata-mock19:20:18
@commiterate:matrix.orgcommiteratehttps://github.com/aws-observability/aws-otel-collector/blob/15a91838c0f16541c64fafd79ca3ae34b2c309f9/Makefile#L79-L8819:20:48
@arianvp:matrix.orgArianopentelemetry-contrib can output otel logs from journald iirc19:46:25
@arianvp:matrix.orgArianAnd that is packaged in nixos too19:46:42
@commiterate:matrix.orgcommiteratenot sure what exporters/sinks/destinations are built in though19:46:42
@commiterate:matrix.orgcommiteratethis fluent-bit build is hell to fix19:47:01
@arianvp:matrix.orgArianAlloy also is packaged 19:47:07
@arianvp:matrix.orgArianAnd definitely supports journald19:47:13
@arianvp:matrix.orgArianyeh otel-collector can do journald: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/systemdreceiver19:51:56
@arianvp:matrix.orgArianwhat is different between ADOT and open-telemetry-collector-contrib ?19:52:36
@commiterate:matrix.orgcommiterateI think it has some extra AWS-specific exporters built in that may not be in OTEL core or OTEL community distributions19:52:56
@arianvp:matrix.orgArian looking at the go.mod seems `adot doesn't have the systemd receiver 19:53:11
@commiterate:matrix.orgcommiterate I'm not too sure how plugins work in the OTEL collector world (not sure if you can just add more stuff to PATH or if it must be baked into the OTEL collector binary) 19:53:38
@arianvp:matrix.orgArianokay so CloudWatch has an OTLP endpoint. Sounds simple to set up20:10:56
@commiterate:matrix.orgcommiterateI think there might be an escape hook to make fluent-bit not try to compile its vendored dependencies like luajit from scratch20:11:34
@commiterate:matrix.orgcommiterateso this might be salvageable20:11:45
@commiterate:matrix.orgcommiterateIIRC there's some random issues with CloudWatch and X-Ray not being fully OLTP compliant (mostly X-Ray)20:12:16
@arianvp:matrix.orgArianhttps://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OTLPSimplesetup.html20:14:20
@arianvp:matrix.orgArianfull example here20:14:28
@arianvp:matrix.orgArianbut idk from the example how I would create a log stream per instance id20:16:09
@commiterate:matrix.orgcommiteratethe fluent-bit link against system libs flag is bait, it only works for some things (e.g. rdkafka, luajit) but not others (e.g. onigmo which is their regex engine)20:46:08
@commiterate:matrix.orgcommiterate* the fluent-bit link against system libs flag is bait, it only works for some things (e.g. rdkafka, luajit) but not others (e.g. onigmo which is their regex engine dependency)20:46:14
@commiterate:matrix.orgcommiterate* the fluent-bit link against system libs cmake flag is bait, it only works for some things (e.g. rdkafka, luajit) but not others (e.g. onigmo which is their regex engine dependency)20:46:21

Show newer messages


Back to Room ListRoom Version: 10