├── .circleci └── config.yml ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── dependabot.yml └── workflows │ ├── container_description.yml │ └── golangci-lint.yml ├── .gitignore ├── .golangci.yml ├── .promu.yml ├── .yamllint ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Dockerfile ├── LICENSE ├── MAINTAINERS.md ├── Makefile ├── Makefile.common ├── NOTICE ├── README-RDS.md ├── README.md ├── SECURITY.md ├── VERSION ├── cmd └── postgres_exporter │ ├── datasource.go │ ├── main.go │ ├── namespace.go │ ├── pg_setting.go │ ├── pg_setting_test.go │ ├── postgres_exporter.go │ ├── postgres_exporter_integration_test.go │ ├── postgres_exporter_test.go │ ├── probe.go │ ├── queries.go │ ├── server.go │ ├── tests │ ├── docker-postgres-replication │ │ ├── Dockerfile │ │ ├── Dockerfile.p2 │ │ ├── README.md │ │ ├── docker-compose.yml │ │ ├── docker-entrypoint.sh │ │ └── setup-replication.sh │ ├── test-smoke │ ├── user_queries_ok.yaml │ ├── user_queries_test.yaml │ ├── username_file │ └── userpass_file │ └── util.go ├── collector ├── collector.go ├── collector_test.go ├── instance.go ├── pg_buffercache_summary.go ├── pg_buffercache_summary_test.go ├── pg_database.go ├── pg_database_test.go ├── pg_database_wraparound.go ├── pg_database_wraparound_test.go ├── pg_locks.go ├── pg_locks_test.go ├── pg_long_running_transactions.go ├── pg_long_running_transactions_test.go ├── pg_postmaster.go ├── pg_postmaster_test.go ├── pg_process_idle.go ├── pg_replication.go ├── pg_replication_slot.go ├── pg_replication_slot_test.go ├── pg_replication_test.go ├── pg_roles.go ├── pg_roles_test.go ├── pg_stat_activity_autovacuum.go ├── pg_stat_activity_autovacuum_test.go ├── pg_stat_bgwriter.go ├── pg_stat_bgwriter_test.go ├── pg_stat_checkpointer.go ├── pg_stat_checkpointer_test.go ├── pg_stat_database.go ├── pg_stat_database_test.go ├── pg_stat_progress_vacuum.go ├── pg_stat_progress_vacuum_test.go ├── pg_stat_statements.go ├── pg_stat_statements_test.go ├── pg_stat_user_tables.go ├── pg_stat_user_tables_test.go ├── pg_stat_walreceiver.go ├── pg_stat_walreceiver_test.go ├── pg_statio_user_indexes.go ├── pg_statio_user_indexes_test.go ├── pg_statio_user_tables.go ├── pg_statio_user_tables_test.go ├── pg_wal.go ├── pg_wal_test.go ├── pg_xlog_location.go ├── pg_xlog_location_test.go └── probe.go ├── config ├── config.go ├── config_test.go ├── dsn.go ├── dsn_test.go └── testdata │ ├── config-bad-auth-module.yaml │ ├── config-bad-extra-field.yaml │ └── config-good.yaml ├── gh-assets-clone.sh ├── gh-metrics-push.sh ├── go.mod ├── go.sum ├── postgres-metrics-get-changes.sh ├── postgres_exporter.rc ├── postgres_exporter_integration_test_script ├── postgres_mixin ├── .gitignore ├── .lint ├── Makefile ├── README.md ├── alerts │ ├── alerts.libsonnet │ └── postgres.libsonnet ├── config.libsonnet ├── dashboards │ ├── dashboards.libsonnet │ └── postgres-overview.json ├── go.mod └── mixin.libsonnet └── queries.yaml /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/container_description.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.github/workflows/container_description.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.promu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.promu.yml -------------------------------------------------------------------------------- /.yamllint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/.yamllint -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/LICENSE -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/MAINTAINERS.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.common: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/Makefile.common -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/NOTICE -------------------------------------------------------------------------------- /README-RDS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/README-RDS.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/SECURITY.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.18.1 2 | -------------------------------------------------------------------------------- /cmd/postgres_exporter/datasource.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/datasource.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/main.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/namespace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/namespace.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/pg_setting.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/pg_setting.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/pg_setting_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/pg_setting_test.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/postgres_exporter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/postgres_exporter.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/postgres_exporter_integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/postgres_exporter_integration_test.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/postgres_exporter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/postgres_exporter_test.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/probe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/probe.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/queries.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/queries.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/server.go -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/docker-postgres-replication/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/docker-postgres-replication/Dockerfile -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/docker-postgres-replication/Dockerfile.p2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/docker-postgres-replication/Dockerfile.p2 -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/docker-postgres-replication/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/docker-postgres-replication/README.md -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/docker-postgres-replication/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/docker-postgres-replication/docker-compose.yml -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/docker-postgres-replication/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/docker-postgres-replication/docker-entrypoint.sh -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/docker-postgres-replication/setup-replication.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/docker-postgres-replication/setup-replication.sh -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/test-smoke: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/test-smoke -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/user_queries_ok.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/user_queries_ok.yaml -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/user_queries_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/tests/user_queries_test.yaml -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/username_file: -------------------------------------------------------------------------------- 1 | custom_username$&+,/:;=?@ 2 | -------------------------------------------------------------------------------- /cmd/postgres_exporter/tests/userpass_file: -------------------------------------------------------------------------------- 1 | custom_password$&+,/:;=?@ 2 | -------------------------------------------------------------------------------- /cmd/postgres_exporter/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/cmd/postgres_exporter/util.go -------------------------------------------------------------------------------- /collector/collector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/collector.go -------------------------------------------------------------------------------- /collector/collector_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/collector_test.go -------------------------------------------------------------------------------- /collector/instance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/instance.go -------------------------------------------------------------------------------- /collector/pg_buffercache_summary.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_buffercache_summary.go -------------------------------------------------------------------------------- /collector/pg_buffercache_summary_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_buffercache_summary_test.go -------------------------------------------------------------------------------- /collector/pg_database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_database.go -------------------------------------------------------------------------------- /collector/pg_database_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_database_test.go -------------------------------------------------------------------------------- /collector/pg_database_wraparound.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_database_wraparound.go -------------------------------------------------------------------------------- /collector/pg_database_wraparound_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_database_wraparound_test.go -------------------------------------------------------------------------------- /collector/pg_locks.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_locks.go -------------------------------------------------------------------------------- /collector/pg_locks_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_locks_test.go -------------------------------------------------------------------------------- /collector/pg_long_running_transactions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_long_running_transactions.go -------------------------------------------------------------------------------- /collector/pg_long_running_transactions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_long_running_transactions_test.go -------------------------------------------------------------------------------- /collector/pg_postmaster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_postmaster.go -------------------------------------------------------------------------------- /collector/pg_postmaster_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_postmaster_test.go -------------------------------------------------------------------------------- /collector/pg_process_idle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_process_idle.go -------------------------------------------------------------------------------- /collector/pg_replication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_replication.go -------------------------------------------------------------------------------- /collector/pg_replication_slot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_replication_slot.go -------------------------------------------------------------------------------- /collector/pg_replication_slot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_replication_slot_test.go -------------------------------------------------------------------------------- /collector/pg_replication_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_replication_test.go -------------------------------------------------------------------------------- /collector/pg_roles.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_roles.go -------------------------------------------------------------------------------- /collector/pg_roles_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_roles_test.go -------------------------------------------------------------------------------- /collector/pg_stat_activity_autovacuum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_activity_autovacuum.go -------------------------------------------------------------------------------- /collector/pg_stat_activity_autovacuum_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_activity_autovacuum_test.go -------------------------------------------------------------------------------- /collector/pg_stat_bgwriter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_bgwriter.go -------------------------------------------------------------------------------- /collector/pg_stat_bgwriter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_bgwriter_test.go -------------------------------------------------------------------------------- /collector/pg_stat_checkpointer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_checkpointer.go -------------------------------------------------------------------------------- /collector/pg_stat_checkpointer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_checkpointer_test.go -------------------------------------------------------------------------------- /collector/pg_stat_database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_database.go -------------------------------------------------------------------------------- /collector/pg_stat_database_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_database_test.go -------------------------------------------------------------------------------- /collector/pg_stat_progress_vacuum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_progress_vacuum.go -------------------------------------------------------------------------------- /collector/pg_stat_progress_vacuum_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_progress_vacuum_test.go -------------------------------------------------------------------------------- /collector/pg_stat_statements.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_statements.go -------------------------------------------------------------------------------- /collector/pg_stat_statements_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_statements_test.go -------------------------------------------------------------------------------- /collector/pg_stat_user_tables.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_user_tables.go -------------------------------------------------------------------------------- /collector/pg_stat_user_tables_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_user_tables_test.go -------------------------------------------------------------------------------- /collector/pg_stat_walreceiver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_walreceiver.go -------------------------------------------------------------------------------- /collector/pg_stat_walreceiver_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_stat_walreceiver_test.go -------------------------------------------------------------------------------- /collector/pg_statio_user_indexes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_statio_user_indexes.go -------------------------------------------------------------------------------- /collector/pg_statio_user_indexes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_statio_user_indexes_test.go -------------------------------------------------------------------------------- /collector/pg_statio_user_tables.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_statio_user_tables.go -------------------------------------------------------------------------------- /collector/pg_statio_user_tables_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_statio_user_tables_test.go -------------------------------------------------------------------------------- /collector/pg_wal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_wal.go -------------------------------------------------------------------------------- /collector/pg_wal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_wal_test.go -------------------------------------------------------------------------------- /collector/pg_xlog_location.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_xlog_location.go -------------------------------------------------------------------------------- /collector/pg_xlog_location_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/pg_xlog_location_test.go -------------------------------------------------------------------------------- /collector/probe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/collector/probe.go -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/config.go -------------------------------------------------------------------------------- /config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/config_test.go -------------------------------------------------------------------------------- /config/dsn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/dsn.go -------------------------------------------------------------------------------- /config/dsn_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/dsn_test.go -------------------------------------------------------------------------------- /config/testdata/config-bad-auth-module.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/testdata/config-bad-auth-module.yaml -------------------------------------------------------------------------------- /config/testdata/config-bad-extra-field.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/testdata/config-bad-extra-field.yaml -------------------------------------------------------------------------------- /config/testdata/config-good.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/config/testdata/config-good.yaml -------------------------------------------------------------------------------- /gh-assets-clone.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/gh-assets-clone.sh -------------------------------------------------------------------------------- /gh-metrics-push.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/gh-metrics-push.sh -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/go.sum -------------------------------------------------------------------------------- /postgres-metrics-get-changes.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres-metrics-get-changes.sh -------------------------------------------------------------------------------- /postgres_exporter.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_exporter.rc -------------------------------------------------------------------------------- /postgres_exporter_integration_test_script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_exporter_integration_test_script -------------------------------------------------------------------------------- /postgres_mixin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/.gitignore -------------------------------------------------------------------------------- /postgres_mixin/.lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/.lint -------------------------------------------------------------------------------- /postgres_mixin/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/Makefile -------------------------------------------------------------------------------- /postgres_mixin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/README.md -------------------------------------------------------------------------------- /postgres_mixin/alerts/alerts.libsonnet: -------------------------------------------------------------------------------- 1 | (import 'postgres.libsonnet') 2 | -------------------------------------------------------------------------------- /postgres_mixin/alerts/postgres.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/alerts/postgres.libsonnet -------------------------------------------------------------------------------- /postgres_mixin/config.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/config.libsonnet -------------------------------------------------------------------------------- /postgres_mixin/dashboards/dashboards.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/dashboards/dashboards.libsonnet -------------------------------------------------------------------------------- /postgres_mixin/dashboards/postgres-overview.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/dashboards/postgres-overview.json -------------------------------------------------------------------------------- /postgres_mixin/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/go.mod -------------------------------------------------------------------------------- /postgres_mixin/mixin.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/postgres_mixin/mixin.libsonnet -------------------------------------------------------------------------------- /queries.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prometheus-community/postgres_exporter/HEAD/queries.yaml --------------------------------------------------------------------------------