-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpgzebra.yaml
38 lines (33 loc) · 970 Bytes
/
pgzebra.yaml
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
---
port: 8081
features:
expose_tables: true
expose_views: false # WARNING - exposing views can possibly alter data!
expose_all_dbs: true # all except template and 'postgres' dbs. can be overridden on db level
default_format: html # csv, json
default_order_by: desc
default_limit: 10
created_patterns: created,timestamp,time
modified_patterns: modified,updated,timestamp
maximum_text_column_length: 80
auto_graphing: on # first column from created_patterns will be used for line
auto_graphing_bucket: hour
auto_graphing_time_filter: current_date
# applies only when no databases are specified for an instance
dbname_visibility_control:
dbname_whitelist:
- .*
dbname_blacklist:
- .*_old(_.*)?$
- ^temp.*
- .*temp$
- .*_test$
instances:
mytestdb:
hostname: localhost
port: 5432
user: postgres
password: postgres
# databases:
# - postgres
# - local_test_db