postgres healthcheck works
This commit is contained in:
parent
91c79357f8
commit
c38ce5cfe6
9 changed files with 203 additions and 8 deletions
13
README.md
13
README.md
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
Regarding Cosmos DB databases: `anaxi` expects to find a file called `cosmos-db.yml` in the path `~/.anaxi/cosmos-db.yml`. The file should specify one or more Cosmos DB databases, along with the required secrets to interact with them. You can check the example file in this repo named `example-cosmos-db.yml` to understand how to build this file. Once you've done that, you can check if any database is reachable with the `cosmos-db-healthcheck` command. See more in the `General Usage` section below.
|
||||
|
||||
For Postgres databases: `anaxi` expects to find a file called `postgres.yml` in the path `~/.anaxi/postgres.yml`. The file should specify one or more Postgres databases, along with the required secrets to interact with them. You can check the example file in this repo named `example-postgres.yml` to understand how to build this file. Once you've done that, you can check if any database is reachable with the `postgres-healthcheck` command. See more in the `General Usage` section below.
|
||||
|
||||
### General Usage
|
||||
|
||||
You can run a healthcheck against any Cosmos DB database like this:
|
||||
|
|
@ -27,12 +29,17 @@ You can run a healthcheck against any Cosmos DB database like this:
|
|||
anaxis cosmos-db-healthcheck --cosmos-db-id <your-db-id>
|
||||
```
|
||||
|
||||
You can run a healthcheck against Postgres databases like this:
|
||||
|
||||
```bash
|
||||
anaxis postgres-healthcheck --postgres-database <your-db-name>
|
||||
```
|
||||
|
||||
## Incremental scopes
|
||||
|
||||
- [X] Callable CLI app
|
||||
- [ ] Env vars readable from file system
|
||||
- [ ] Healthchecks against Cosmos DB doable
|
||||
- [ ] Healthchecks against DWH doable
|
||||
- [X] Healthchecks against Cosmos DB doable
|
||||
- [X] Healthchecks against DWH doable
|
||||
- [ ] Reading from Cosmos DB
|
||||
- [ ] Writing into DWH
|
||||
- [ ] Refactors and improvements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue