-
Notifications
You must be signed in to change notification settings - Fork 24
/
pghero.yml
44 lines (34 loc) · 1.01 KB
/
pghero.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
databases:
primary:
url: <%= ENV["DATABASE_URL"] %>
primary-follower:
url: <%= ENV["FOLLOWER_DATABASE_URL"] %>
feature-flags:
url: <%= ENV["FEATURE_FLAGS_DATABASE_URL"] %>
tg-bot:
url: <%= ENV["TG_BOT_DATABASE_URL"] %>
channel-db:
url: <%= ENV["CHANNEL_DATABASE_URL"] %>
# System stats
# aws_db_instance_identifier: my-instance
# gcp_database_id: my-project:my-instance
# azure_resource_id: my-resource-id
# 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
# Explain functionality
# explain: true / false / analyze
# Statement timeout for explain
# explain_timeout_sec: 10
# Visualize URL for explain
# visualize_url: https://...
# Time zone
time_zone: "Israel Standard Time"