Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit d1e073b

Browse files
author
Harmen
authored
Merge pull request #15 from toughrogrammer/namespace-metrics
additional metrics for device
2 parents 8bb54cf + bd9ba2e commit d1e073b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

namespaces.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ var (
191191
// geo2dsphere-within.max-cells=12
192192
// geo2dsphere-within.level-mod=1
193193
// geo2dsphere-within.earth-radius-meters=6371000
194+
195+
gauge("device_total_bytes", "device total bytes"),
196+
gauge("device_used_bytes", "device used bytes"),
197+
gauge("device_free_pct", "device free pct"),
198+
gauge("device_available_pct", "device available pct"),
194199
}
195200
)
196201

0 commit comments

Comments
 (0)