This commit is contained in:
James Campbell 2025-01-08 17:12:35 -05:00
parent 0a05102bc1
commit 2ad9158cfe
Signed by: james
GPG Key ID: 2287C33A40DC906A
5 changed files with 2 additions and 15 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ configure~
install-sh
missing
__pycache__
venv

View File

@ -1,2 +0,0 @@
bin_SCRIPTS = pgmon.py
dist_doc_DATA = README ChangeLog pgmon_templates.yaml

View File

@ -1,11 +0,0 @@
AC_INIT([pgmon], [0.0.1], [modus.tollens@shh-dot-com.org])
AM_INIT_AUTOMAKE
AM_PATH_PYTHON([3.6])
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT

View File

@ -30,7 +30,7 @@ metrics:
ntables:
type: value
query:
0: file:sql/ntables.sql
0: SELECT count(*) AS ntables FROM pg_stat_user_tables
# Per-replication metrics
rep_stats:

View File

@ -1 +0,0 @@
SELECT count(*) AS ntables FROM pg_stat_user_tables;