about summary refs log tree commit diff
path: root/config/pghero.yml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-11-30 18:13:53 +0100
committerGitHub <noreply@github.com>2019-11-30 18:13:53 +0100
commit7f6315841c98a1eee6cb57171a91a88f5c5343df (patch)
tree02bc3eae22390ba267410c3e134067669ad3c805 /config/pghero.yml
parent93b8aec7b7cd6af1b6ef6385cfe138fb32dee6e9 (diff)
parentb509b8812a8f08f59f3b0303f7d8e98de86e3590 (diff)
Merge pull request #1249 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'config/pghero.yml')
-rw-r--r--config/pghero.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/config/pghero.yml b/config/pghero.yml
new file mode 100644
index 000000000..244245d0d
--- /dev/null
+++ b/config/pghero.yml
@@ -0,0 +1,41 @@
+databases:
+  primary:
+    # Database URL (defaults to app database)
+    # url: <%= ENV["DATABASE_URL"] %>
+
+  # Add more databases
+  # other:
+  #   url: <%= ENV["OTHER_DATABASE_URL"] %>
+
+# Minimum time for long running queries
+# long_running_query_sec: 60
+
+# Minimum average time for slow queries
+# slow_query_ms: 20
+
+# Minimum calls for slow queries
+# slow_query_calls: 100
+
+# Minimum connections for high connections warning
+# total_connections_threshold: 500
+
+# Statement timeout for explain
+# explain_timeout_sec: 10
+
+# Time zone (defaults to app time zone)
+# time_zone: "Pacific Time (US & Canada)"
+
+# Basic authentication
+# username: admin
+# password: secret
+
+# Stats database URL (defaults to app database)
+# stats_database_url: <%= ENV["PGHERO_STATS_DATABASE_URL"] %>
+
+# AWS configuration (defaults to app AWS config)
+# also need aws_db_instance_identifier with each database
+# aws_access_key_id: ...
+# aws_secret_access_key: ...
+# aws_region: us-east-1
+
+override_csp: true