Commit Graph

4 Commits

Author SHA1 Message Date
Pim van Pelt d2ee6d009e v1.1.3: surface daemon version + commit on maglev_info
Extend the existing maglev_info gauge with two more labels:
- version (build version, from -ldflags)
- commit (git short hash)

Mirrors nginx_ipng_stats-plugin's nginx_ipng_info pattern: a
label-only gauge value=1 carrying build metadata for Prometheus
to query and Grafana dashboards to render. Useful for spotting
version drift across the fleet with a single query, and for
populating the "Version" column of the Maglev Nodes table on
the global overview.

Existing label source_tag is preserved.

Plumbing: NewCollector / Register signatures gain version and
commit string parameters; main.go reads them from cmd.Version()
and cmd.Commit() (already imported as 'buildinfo').
2026-05-01 23:20:27 +02:00
Pim van Pelt dc7599f3ee Move source-tag to toplevel maglev.source-tag config, defaulting to short hostname, v1.1.2 2026-05-01 15:39:23 +02:00
Pim van Pelt 701674399a Release v1.0.0 under Apache-2.0 license 2026-04-15 18:14:28 +02:00
Pim van Pelt bc6ccaa844 v1.0.0 — first release
Bump VERSION to 1.0.0 and cut the first tagged release of vpp-maglev.

Also in this commit:

- maglevc: MAGLEV_SERVER env var as an alternative to the --server
  flag, matching the MAGLEV_CONFIG / MAGLEV_GRPC_ADDR convention on
  the other binaries. The flag takes precedence when both are set.
- Rename cmd/maglevd -> cmd/server and cmd/maglevc -> cmd/client so
  the source directory names are decoupled from binary names (the
  frontend and tester commands already followed this convention).
  Build outputs and the Debian packages are unchanged.
2026-04-15 15:29:31 +02:00