diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-11-30 17:29:44 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-11-30 17:29:44 +0100 |
commit | 2b7158427f5a80728dfc04913a4d7a78471a1703 (patch) | |
tree | 4d55c1f3502880bb0f20cd1daab081a8685d0f0c /config/pghero.yml | |
parent | 93b8aec7b7cd6af1b6ef6385cfe138fb32dee6e9 (diff) | |
parent | b532ead798c481fd03be9eb78e910d62654cdaa8 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'config/pghero.yml')
-rw-r--r-- | config/pghero.yml | 41 |
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 |