github robintra/perf-sentinel v0.4.3

latest releases: chart-v0.2.46, v0.8.1, chart-v0.2.45...
one month ago

What's new in v0.4.3

Patch release: adds a liveness /health endpoint on the daemon and bumps the Rust toolchain to 1.95.0. No breaking changes.

Added

  • GET /health liveness endpoint on the daemon HTTP port (default 4318), alongside /v1/traces, /metrics and the /api/* query surface. Returns 200 OK with {"status":"ok","version":"<pkg_version>"}. Stateless, holds no locks, and cannot false-negative under ingestion load. Always exposed, independent of [daemon] api_enabled, so it is safe to wire directly into a Kubernetes livenessProbe, a load-balancer health check, or a systemd ExecStartPost smoke test. See crates/sentinel-core/src/daemon/health.rs.

Changed

  • Rust toolchain raised from 1.94.1 to 1.95.0 (both rust-toolchain.toml and the workspace MSRV in Cargo.toml). Enables idiomatic use of the newly stabilized Duration::from_mins and Duration::from_hours constructors. Existing Duration::from_secs(60 / 300 / 600 / 3600) sites were migrated to satisfy the new clippy::duration_suboptimal_units lint under -D warnings. Also picks up the sort_unstable_by_key(|b| Reverse(b.1)) pattern in detect/chatty.rs and removes unnecessary trailing commas in format! invocations in score/carbon.rs (clippy 1.95.0).

Docs

  • README.md + README-FR.md, GUIDED-TOUR.md, docs/QUERY-API.md + FR, docs/design/06-INGESTION-AND-DAEMON.md + FR: /health added to the daemon HTTP surface enumeration, with a note that it is always exposed, independent of [daemon] api_enabled.
  • ENTERPRISE-JAVA-INTEGRATION-FR.md: new "Sondes Kubernetes" sub-section with ready-to-copy livenessProbe + readinessProbe YAML on /health, plus a 4th curl -sf /health smoke test in the "Vérification rapide" flow.
  • Dockerfile and examples/docker-compose-collector.yml + docker-compose-sharded.yml: healthcheck commands and comments migrated from /metrics to /health (the purpose-built liveness surface, cheaper than scraping the full Prometheus metrics payload).

Install

Prebuilt binaries (Linux amd64 / arm64, macOS arm64, Windows amd64):

curl -LO https://github.com/robintra/perf-sentinel/releases/download/v0.4.3/perf-sentinel-linux-amd64
chmod +x perf-sentinel-linux-amd64
sudo mv perf-sentinel-linux-amd64 /usr/local/bin/perf-sentinel

From crates.io:

cargo install perf-sentinel

Docker:

docker pull robintrassard/perf-sentinel:0.4.3

Also available on GHCR: ghcr.io/robintra/perf-sentinel:0.4.3.

Verify the binary against SHA256SUMS.txt:

curl -LO https://github.com/robintra/perf-sentinel/releases/download/v0.4.3/SHA256SUMS.txt
sha256sum -c SHA256SUMS.txt --ignore-missing

Full diff: v0.4.2...v0.4.3

Don't miss a new perf-sentinel release

NewReleases is sending notifications on new releases.