aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-05-04 18:01:36 +0100
committerChristopher Baines <mail@cbaines.net>2022-05-04 18:01:36 +0100
commit4d9f6240f25c54dd3cca2873de2f75446412ed8f (patch)
tree23d577d0513d97c8c58843b5e0382426b69b6414 /scripts
parente046f8a756aa24942f512b352e87dfe78fa89470 (diff)
downloadnar-herder-4d9f6240f25c54dd3cca2873de2f75446412ed8f.tar
nar-herder-4d9f6240f25c54dd3cca2873de2f75446412ed8f.tar.gz
Expose the storage size as a metric
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index b0c4498..2d5289b 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -364,7 +364,8 @@
(start-mirroring-thread database
mirror
(assq-ref opts 'storage-limit)
- canonical-storage))))
+ canonical-storage
+ metrics-registry))))
(when (and (assq-ref opts 'storage)