3 Commits

Author SHA1 Message Date
23fd9ab3a9 fix format error 2025-10-22 13:45:21 +02:00
37f76b38ab fix version printing 2025-10-22 13:42:14 +02:00
755e79b72d update ignores 2025-10-22 10:19:51 +02:00
3 changed files with 12 additions and 1 deletions

6
.gitignore vendored
View File

@@ -31,4 +31,10 @@ go.work.sum
# .idea/
# .vscode/
# build residue
io-exporter
# test deployments
*.yaml

View File

@@ -15,7 +15,7 @@ import (
)
const (
Version = `v0.0.3`
Version = `v0.0.4`
SLEEP = 5
Usage = `io-exporter [options] <file>
Options:

View File

@@ -18,6 +18,11 @@ func Run() {
log.Fatal(err)
}
if conf.Showversion {
fmt.Printf("This is io-exporter version %s\n", Version)
os.Exit(0)
}
metrics := NewMetrics(conf)
alloc := NewAlloc()