summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 402b977..8c67fb7 100644
--- a/main.go
+++ b/main.go
@@ -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,