add database connection to the metrics endpoint (#12427)

* add database connection to the metrics endpoint

* bump the counts collector version to 1.2

* check for postgresql as database so to not break the tests
This commit is contained in:
jainnikhil30
2022-06-27 19:07:23 +05:30
committed by GitHub
parent 566665ee8c
commit 5062ce1e61
4 changed files with 14 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ EXPECTED_VALUES = {
'awx_license_instance_total': 0,
'awx_license_instance_free': 0,
'awx_pending_jobs_total': 0,
'awx_database_connections_total': 1,
}