follow Prometheus best practices: metric renames, counter types, build_info, scrape duration

This commit is contained in:
illustris
2026-03-12 13:21:50 +05:30
parent f332a2f6ac
commit 00404095b9
4 changed files with 144 additions and 62 deletions

View File

@@ -21,6 +21,7 @@ var version string
func main() {
cfg := config.Parse()
cfg.Version = version
if cfg.ShowVersion {
fmt.Println(version)