Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Aside from having [ufw](https://help.ubuntu.com/community/UFW),[fail2ban](https:
| Goodie | Version | Description |
| ------------- | :-------------: | ------------- |
| [PgBouncer](https://www.pgbouncer.org/) | [1.16.1](http://www.pgbouncer.org/changelog.html#pgbouncer-116x) | Set up Connection Pooling. |
| [PostgREST](https://postgrest.org/en/stable/) | [v10.1.1](https://github.com/PostgREST/postgrest/releases/tag/v10.1.1) | Instantly transform your database into an RESTful API. |
| [PostgREST](https://postgrest.org/en/stable/) | [v12.2.3](https://github.com/PostgREST/postgrest/releases/tag/v12.2.3) | Instantly transform your database into an RESTful API. |
| [WAL-G](https://github.com/wal-g/wal-g#wal-g) | [v2.0.1](https://github.com/wal-g/wal-g/releases/tag/v2.0.1) | Tool for physical database backup and recovery. |

## Install
Expand Down
7 changes: 7 additions & 0 deletions docker/all-in-one/etc/adminapi/adminapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ upstream_metrics_sources:
value: {{ .ProjectRef }}
- name: service_type
value: gotrue
- name: postgrest
url: "http://localhost:3001/metrics"
labels_to_attach:
- name: supabase_project_ref
value: {{ .ProjectRef }}
- name: service_type
value: postgrest
monitoring:
disk_usage:
enabled: true
Expand Down
4 changes: 4 additions & 0 deletions testinfra/test_ami.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
name: gotrue
url: 'http://localhost:9122/metrics'
labels_to_attach: [{name: supabase_project_ref, value: aaaaaaaaaaaaaaaaaaaa}, {name: service_type, value: gotrue}]
-
name: postgrest
url: 'http://localhost:3001/metrics'
labels_to_attach: [{name: supabase_project_ref, value: aaaaaaaaaaaaaaaaaaaa}, {name: service_type, value: postgrest}]
monitoring:
disk_usage:
enabled: true
Expand Down
4 changes: 4 additions & 0 deletions testinfra/test_ami_nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
name: gotrue
url: 'http://localhost:9122/metrics'
labels_to_attach: [{name: supabase_project_ref, value: aaaaaaaaaaaaaaaaaaaa}, {name: service_type, value: gotrue}]
-
name: postgrest
url: 'http://localhost:3001/metrics'
labels_to_attach: [{name: supabase_project_ref, value: aaaaaaaaaaaaaaaaaaaa}, {name: service_type, value: postgrest}]
monitoring:
disk_usage:
enabled: true
Expand Down
Loading