This PR aims to solve the issues outlined in #42 with the exception of query validation, though through testing codebundle, if the codebundle is configured properly and the query is wrong, the error is fed back into the error logs which is helpful. If the codebundle is not configured correctly, then the error is less helpful, but this is tracked in another issue regarding the kubectl service.
Notable changes;
rename of the bundle path from k8s-postgres-querymetric to k8s-postgres-query
adds timing to the query (from psql)
error checking for unset database password
additional fields and documentation to provide a more flexible configuration (e.g. namespace and container fields can be used) (added via RW.K8s.Template Workload)
support for an empty hostname
addition of a runbook.robot/TaskSet to create a report from postgresql query
This PR aims to solve the issues outlined in #42 with the exception of query validation, though through testing codebundle, if the codebundle is configured properly and the query is wrong, the error is fed back into the error logs which is helpful. If the codebundle is not configured correctly, then the error is less helpful, but this is tracked in another issue regarding the kubectl service.
Notable changes;