aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-01 22:42:41 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-01 22:42:41 +0000
commit9c9e702553c5bf9edfac34b4ed6fa1c4a6ec6e38 (patch)
tree709cbdd34289647d9867bc328d6026ac1c25c9c6 /guix-build-coordinator/datastore.scm
parent37e78be1336870ebff07b644f6fb228bf484b702 (diff)
downloadbuild-coordinator-9c9e702553c5bf9edfac34b4ed6fa1c4a6ec6e38.tar
build-coordinator-9c9e702553c5bf9edfac34b4ed6fa1c4a6ec6e38.tar.gz
Add metrics for the database and WAL size
I particularly want to monitor the WAL growth, as I don't think SQLite's usual approach to keeping the size down is sufficient.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r--guix-build-coordinator/datastore.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm
index b4a37b3..c1ad5ad 100644
--- a/guix-build-coordinator/datastore.scm
+++ b/guix-build-coordinator/datastore.scm
@@ -8,6 +8,7 @@
#:export (database-uri->datastore
datastore-find-build-output))
+(re-export datastore-update-metrics!)
(re-export datastore-update)
(re-export datastore-call-with-transaction)
(re-export datastore-store-derivation)