✨ Revise observability features by introducing new health and liveness endpoints (/livez and /readyz), updating Prometheus metrics to track NATS consumer pending messages, and enhancing telemetry integration for better monitoring. Update documentation to reflect these changes and ensure consistency in metric naming conventions.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package buildinfo
|
||||
|
||||
// Version, Commit, and BuiltAt are populated via -ldflags at build time. They
|
||||
// default to development-friendly values when not provided.
|
||||
//
|
||||
// Example:
|
||||
// go build -ldflags "\
|
||||
// -X 'caatsm/internal/infra/buildinfo.Version=v0.4.3' \
|
||||
// -X 'caatsm/internal/infra/buildinfo.Commit=abc1234' \
|
||||
// -X 'caatsm/internal/infra/buildinfo.BuiltAt=2025-11-16T08:35:00Z' \
|
||||
// "
|
||||
|
||||
var (
|
||||
Version = "dev"
|
||||
Commit = "unknown"
|
||||
BuiltAt = ""
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user