We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to add a connection check with PostgreSQL
The function should take the POSTGRESQL connection options and return check the connection result.
Connection options example: hostname: "localhost", username: "username", password: "password", database: "database" or url: "<connection string>"
hostname: "localhost", username: "username", password: "password", database: "database"
url: "<connection string>"
Result example: { "componentId": "dfd6cf2b-1b6e-4412-a0b8-f6f7797a60d2", "componentType": "datastore", "observedValue": 75, "status": "warn", "time": "2018-01-17T03:36:48Z", "output": "", "links": { "self": "http://api.example.com/dbnode/dfd6cf2b/health" } }
{ "componentId": "dfd6cf2b-1b6e-4412-a0b8-f6f7797a60d2", "componentType": "datastore", "observedValue": 75, "status": "warn", "time": "2018-01-17T03:36:48Z", "output": "", "links": { "self": "http://api.example.com/dbnode/dfd6cf2b/health" } }
Also need add unit tests
The text was updated successfully, but these errors were encountered:
gulivero1773
No branches or pull requests
Need to add a connection check with PostgreSQL
The function should take the POSTGRESQL connection options and return check the connection result.
Connection options example:
hostname: "localhost", username: "username", password: "password", database: "database"
or
url: "<connection string>"
Result example:
{ "componentId": "dfd6cf2b-1b6e-4412-a0b8-f6f7797a60d2", "componentType": "datastore", "observedValue": 75, "status": "warn", "time": "2018-01-17T03:36:48Z", "output": "", "links": { "self": "http://api.example.com/dbnode/dfd6cf2b/health" } }
Also need add unit tests
The text was updated successfully, but these errors were encountered: