Skip to content

Commit a2b07b5

Browse files
committed
remove sql and add options for configuring sources
1 parent 689b1f3 commit a2b07b5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/tutorial/custom_installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@ sudo systemctl enable pgwatch
189189

190190
### 6. Configure monitored sources
191191

192-
Add databases to monitor via the pgwatch web UI (port 8080 by default) or direct SQL:
192+
Add databases to monitor via one of the methods:
193193

194-
```sql
195-
INSERT INTO pgwatch.source (name, conn_str, preset_metrics, is_enabled)
196-
VALUES ('mydb', 'postgresql://pgwatch:your_password@localhost:5432/mydb', 'exhaustive', true);
197-
```
194+
- [web UI](../concept/web_ui.md) (port 8080 by default),
195+
- [REST API](../reference/rest.md),
196+
- directly with sql for PostgreSQL config store,
197+
- editing the YAML file for YAML config store.
198198

199199
!!! note
200200
Allow up to 2 minutes - can be adjusted via `--refresh` - for new sources to appear in metrics collection.

0 commit comments

Comments
 (0)