[discourse-web/flathub: 2/3] DEV: Add ENV variable for enabling MiniProfiler snapshots (https://github.com/discourse/discourse/co
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [discourse-web/flathub: 2/3] DEV: Add ENV variable for enabling MiniProfiler snapshots (https://github.com/discourse/discourse/co
- Date: Wed, 7 Oct 2020 10:42:29 +0000 (UTC)
commit e84fcb07b7a7ec7bc9dd613e0eb32d8501d2fda7
Author: iposadat <ismael posada trobo cern ch>
Date: Fri Sep 25 08:40:18 2020 +0200
DEV: Add ENV variable for enabling MiniProfiler snapshots
(https://github.com/discourse/discourse/commit/a92d88747e39811afee9a439f96eb2c6e227638e)
Fix prometheus_trusted_ip_allowlist_regex regex
config/discourse.conf | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/config/discourse.conf b/config/discourse.conf
index 6aec367..cf73e86 100644
--- a/config/discourse.conf
+++ b/config/discourse.conf
@@ -72,6 +72,10 @@ smtp_openssl_verify_mode = 'none'
# load MiniProfiler in production, to be used by developers
load_mini_profiler = true
+# Every how many requests should MP profile a request (aka take snapshot)
+# Default is never
+mini_profiler_snapshots_period = 0
+
# recommended, cdn used to access assets
cdn_url =
@@ -275,6 +279,5 @@ allowed_theme_repos =
enable_email_sync_demon = false
# Set trusted ip's for prometheus.
-# Check discourse-monitoring.web.cern.ch for ips.
-# Go for openshift ones (nslookup openshift.cern.ch)
-prometheus_trusted_ip_allowlist_regex = '(::ffff:188\.18[4-5])'
\ No newline at end of file
+# Check standard nodes ips.
+prometheus_trusted_ip_allowlist_regex = '(::ffff:188\.18[4-5])|(::ffff:137\.138)'
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]