diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -100,7 +100,7 @@ func update() { sizes := make(map[string]int64) counts := make(map[string]int64) - slog.Debug("Updating metrics") + slog.Debug("Scanning filesystem for updates") err := filepath.Walk(path, func(path string, info fs.FileInfo, err error) error { if err != nil { return err @@ -131,6 +131,7 @@ func update() { } // Loop over all keys and set the respective gauge values + slog.Debug("Writing new values to metrics") for key, _ := range keys { gauges["count"].With(prometheus.Labels{ "extension": key, |
