Repository navigation
Releases
Releases · mr-karan/nomad-vector-logger
v0.5.0
Breaking change
nomad-vector-logger is no longer a Go daemon that generates Vector config files at runtime. Starting with v0.5.0, the project ships a pure Vector configuration (vector.yaml) that polls the Nomad API directly and enriches allocation logs using Vector's native sources, enrichment tables, and VRL transforms.
This means the old binary, Docker image, Go config file, generated nomad.toml, extra_templates_dir, and release artifacts are removed. Deploy Vector directly with the provided vector.yaml instead.
What's new
- Replaced the Go daemon with a single native Vector pipeline.
- Added Nomad allocation discovery through Vector's
http_clientsource. - Added metadata enrichment with a Vector memory enrichment table.
- Added VRL transforms for extracting allocation/task information from Nomad log paths.
- Added
VECTOR_MAX_LINE_BYTES, which maps to Vector'smax_line_bytesfile-source option for very large log lines. - Updated the example Nomad deployment to use Vector
v0.56.0.
Migration notes
- Stop deploying the old
nomad-vector-loggerbinary/container. - Deploy Vector
v0.56.0+with this repository'svector.yaml. - Provide the required environment variables:
NOMAD_NODE_ID,NOMAD_ADDR, and, if ACLs are enabled,NOMAD_TOKEN. - Add your sink configuration to
vector.yamland wire it tonomad_log_enrichornomad_logs_formatted. - Use a persistent
VECTOR_DATA_DIRso Vector checkpoints survive restarts.
Validation
Validated vector.yaml with Vector 0.56.0 using a temporary console sink and health checks disabled for the Nomad API.
v0.4.1
Changelog
- 4336be3 chore: remove accidentally committed binary
- 3b71026 Merge origin/main into justmiles/main
- 3860fec feat: add task, group, and job metadata to templates
- 40bd5b0 Merge pull request #11 from biraj21/main
- caf8594 per: use List Node Allocations endpoint
- 96108a1 feat: add job type and parent job fields to allocation metadata
v0.4.0
v0.3.4
Changelog
- be82422 Merge pull request #4 from arbourd/goreleaser-arm
- e0592de Add multiarch builds
- 084c2bb Merge pull request #3 from arbourd/patch-1
- 269b55a Update README.md
- 815a844 chore: typo fixes
- caea18b Merge pull request #2 from mr-karan/refactor
- 4297438 Merge branch 'main' into refactor
- 0904784 chore: cleanup docs
- 73936bd feat: add local dev setup
- 8757a21 feat: only generate config when something has changed
- 0593861 feat: add removal of alloc
- a0bb4bb feat: remove events stream sdk
- 3403b27 feat: add nomad data in an object
- c3b17f1 fix: prefix dir for existing allocs
- 8c26cc1 feat: replace zap with logf
- e2bdeb3 chore: fix github actions
- 38c6bad chore: update docs
v0.3.3
Changelog
- 1348a5c feat: only generate config when something has changed
v0.3.2
Changelog
- b7afb83 feat: add removal of alloc
v0.3.1
v0.3.0
Changelog
- 43c4ab5 chore: login to ghcr
- b50f7fd Merge pull request #1 from mr-karan/csv
- 0df3241 Merge branch 'main' into csv
- 88a9f73 chore: update docs
- c4d4753 chore: go mod
- be092ba feat: add sorting before writing to csv, replace logger
- 72a5b69 chore: config changes
- 060d92d chore: wip
- b33a89e feat: add support for enrichment via csv
v0.2.0
Changelog
- 531303a feat: remove events stream sdk