fleet/server/logging
Nico 3f2b671fb3
Add natsWaitOrTimeout helper to fail early if any of the NATS logging tests fail (#39337)
Might resolve
[this](https://github.com/fleetdm/fleet/actions/runs/21648872745/job/62407941749?pr=39201#step:14:14722)

The writer could fire off messages before the subscriber was actually
registered on the NATS server (two separate connections, so no ordering
guarantee).
`nc.Flush()` forces a round-trip to make sure the subscription is in
place before we publish, and `natsWaitOrTimeout` is just a safety net so
we fail in 5s instead of hanging for 20min if something fails.
2026-02-06 10:28:40 -03:00
..
mock Migrate from aws-sdk-go v1 to v2 (#30308) 2025-06-30 17:45:39 -03:00
filesystem.go Update golangci-lint to v2.4.0 (#33251) 2025-09-22 13:17:11 -05:00
filesystem_test.go Update golangci-lint to v2.4.0 (#33251) 2025-09-22 13:17:11 -05:00
firehose.go Fix STS assume role in aws-sdk-go v2 (#30699) 2025-07-10 13:00:27 -03:00
firehose_test.go Migrate from aws-sdk-go v1 to v2 (#30308) 2025-06-30 17:45:39 -03:00
kafkarest.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
kafkarest_test.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
kinesis.go Fix STS assume role in aws-sdk-go v2 (#30699) 2025-07-10 13:00:27 -03:00
kinesis_test.go Migrate from aws-sdk-go v1 to v2 (#30308) 2025-06-30 17:45:39 -03:00
lambda.go Fix STS assume role in aws-sdk-go v2 (#30699) 2025-07-10 13:00:27 -03:00
lambda_test.go Migrate from aws-sdk-go v1 to v2 (#30308) 2025-06-30 17:45:39 -03:00
logging.go Add support for publishing logs to NATS. (#36527) 2026-01-06 09:10:32 -03:00
nanodep.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
nats.go Remove valyala/fastjson and valyala/fasttemplate dependencies (#37914) 2026-01-06 16:58:51 -03:00
nats_test.go Add natsWaitOrTimeout helper to fail early if any of the NATS logging tests fail (#39337) 2026-02-06 10:28:40 -03:00
pubsub.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
stdout.go Add stdout and kinesis logger plugins and sts assume role to Firehose (#2282) 2020-08-19 14:56:44 -07:00
webhook.go Webhook logging destination (#28692) 2025-05-01 16:13:04 -04:00
webhook_test.go Webhook logging destination (#28692) 2025-05-01 16:13:04 -04:00