From 02e4ed3c12e173c13d3f0d0604c5c16113ee7d00 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 2 Jun 2024 20:54:47 +0200 Subject: [PATCH] README: migration metrics are disabled by default The docs are misleading here, make it clear that this needs to be enabled explicitly since ac0204cdd24c87850e97296e6f2d185017b57634. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d6556338..fb400836 100644 --- a/README.md +++ b/README.md @@ -169,8 +169,9 @@ are exported, `django_migrations_applied_by_connection` and `django_migrations_unapplied_by_connection`. You may want to alert if there are unapplied migrations. -If you want to disable the Django migration metrics, set the -`PROMETHEUS_EXPORT_MIGRATIONS` setting to False. +This behavior is disabled by default. To enable it, set +`PROMETHEUS_EXPORT_MIGRATIONS` in your `settings.py` to +`True`. ### Monitoring and aggregating the metrics