postgresai 0.18.0-dev.6 → 0.18.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -6
- package/dist/bin/postgres-ai.js +11794 -14282
- package/dist/sql/03.permissions.sql +8 -4
- package/package.json +1 -1
- package/sql/03.permissions.sql +8 -4
package/README.md
CHANGED
|
@@ -196,10 +196,7 @@ pgai mon deploy 'postgresql://postgres:<password>@<host>:5432/postgres'
|
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
It signs you in if needed, creates the `postgres_ai_mon` role (with an admin URL; otherwise it
|
|
199
|
-
prints the SQL), provisions monitoring in PostgresAI Cloud,
|
|
200
|
-
of `pgai checkup`, as `postgres_ai_mon`) while the box starts and prints its findings (in JSON:
|
|
201
|
-
`checkup`; skipped where PostgresAI keeps the role's password: no `checkup` key, no first report),
|
|
202
|
-
waits, and prints two links: the project's Health Matrix in the console
|
|
199
|
+
prints the SQL), provisions monitoring in PostgresAI Cloud, waits, and prints two links: the project's Health Matrix in the console
|
|
203
200
|
(`<console>/<org>/projects/<project>/health`, the next step) and Grafana, which signs you in
|
|
204
201
|
with your PostgresAI account (`https://<box>/login/generic_oauth?redirectTo=%2F`). Safe to re-run; a `--clickhouse-key` given on a
|
|
205
202
|
re-run is checked, and a rejected one is `action_required`. For ClickHouse Managed Postgres add `--clickhouse-key <key-id>:<key-secret>`
|
|
@@ -295,8 +292,7 @@ Another database on a server PostgresAI already monitors for the organization ne
|
|
|
295
292
|
`sslmode=require` or `verify-*` in the URL, the role keeps its password, the box's URL carries
|
|
296
293
|
none, and PostgresAI fills in the one it kept from the first `mon deploy` (only over TLS, each query
|
|
297
294
|
parameter once, and only while a box on that server is not deleted, being deleted, or failed to
|
|
298
|
-
delete).
|
|
299
|
-
admin. The full checkup follows on the box. On a server without TLS the kept password cannot be
|
|
295
|
+
delete). On a server without TLS the kept password cannot be
|
|
300
296
|
used: set `PGAI_MON_PASSWORD`, or turn TLS on; if nobody has the password, delete the server's
|
|
301
297
|
other instances, then `--reset-password` with `PGAI_MON_PASSWORD` set to a new one, and deploy
|
|
302
298
|
them again with it (`mon deploy` names them).
|