├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug-report.md │ ├── config.yml │ ├── feature-request.md │ └── story.md ├── renovate.json5 └── workflows │ ├── automated_release.yaml │ ├── on_prerelease.yaml │ ├── on_push_pr.yaml │ ├── on_release.yaml │ ├── repolinter.yml │ └── security.yaml ├── .gitignore ├── .papers_config.yml ├── .semgrep.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── THIRD_PARTY_NOTICES.md ├── go.mod ├── go.sum ├── legacy ├── postgresql-definition.yml └── postgresql-win-definition.yml ├── papers_manifest.yml ├── postgresql-config.yml.k8s_sample ├── postgresql-config.yml.sample ├── postgresql-custom-query.yml.sample ├── postgresql-log.yml.example ├── queries ├── database_queries.pgsql ├── instance_queries.pgsql └── inventory.pgsql ├── src ├── args │ ├── argument_list.go │ └── argument_list_test.go ├── collection │ ├── collection.go │ └── collection_test.go ├── connection │ ├── pgsql_connection.go │ ├── pgsql_connection_mock.go │ └── pgsql_connection_test.go ├── fips.go ├── inventory │ ├── inventory.go │ └── inventory_test.go ├── main.go ├── metrics │ ├── database_definitions.go │ ├── database_definitions_test.go │ ├── index_definitions.go │ ├── instance_definitions.go │ ├── instance_definitions_test.go │ ├── lock_definitions.go │ ├── metric_types.go │ ├── metrics.go │ ├── metrics_test.go │ ├── modelers.go │ ├── pgbouncer_definitions.go │ ├── table_definitions.go │ └── version_test.go └── query-performance-monitoring │ ├── common-parameters │ └── common_parameters.go │ ├── common-utils │ ├── common_helpers.go │ ├── common_helpers_test.go │ ├── constants.go │ ├── ingestion-helpers.go │ ├── ingestion_helper_test.go │ ├── query_fetch_helpers.go │ └── query_fetch_helpers_test.go │ ├── datamodels │ └── performance_data_models.go │ ├── performance-metrics │ ├── blocking_sessions.go │ ├── blocking_sessions_test.go │ ├── execution_plan_metrics.go │ ├── execution_plan_metrics_test.go │ ├── individual_query_metrics.go │ ├── individual_query_metrics_test.go │ ├── slow_query_metrics.go │ ├── slow_query_metrics_test.go │ ├── wait_event_metrics.go │ └── wait_event_metrics_test.go │ ├── queries │ └── queries.go │ ├── query_performance_main.go │ └── validations │ ├── performance_metrics_validations.go │ └── performance_metrics_validations_test.go └── tests ├── README.md ├── docker-compose-performance.yml ├── docker-compose-pgbouncer.yml ├── docker-compose.yml ├── perf-testing ├── integration │ └── Dockerfile ├── latest_supported │ ├── 01-init-extensions.sql │ ├── 02-create-database.sql │ ├── 03-import-data.sql │ └── Dockerfile └── oldest_supported │ ├── 01-init-extensions.sql │ ├── 02-create-database.sql │ ├── 03-import-data.sql │ └── Dockerfile ├── postgresql_test.go ├── postgresqlperf_test.go ├── simulation ├── helpers.go └── sim_queries.go └── testdata ├── blocking-sessions-schema.json ├── execution-plan-schema.json ├── individual-queries-schema.json ├── jsonschema-inventory-latest.json ├── jsonschema-latest.json ├── jsonschema96.json ├── slow-queries-schema.json └── wait-events-schema.json /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/story.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/ISSUE_TEMPLATE/story.md -------------------------------------------------------------------------------- /.github/renovate.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/renovate.json5 -------------------------------------------------------------------------------- /.github/workflows/automated_release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/workflows/automated_release.yaml -------------------------------------------------------------------------------- /.github/workflows/on_prerelease.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/workflows/on_prerelease.yaml -------------------------------------------------------------------------------- /.github/workflows/on_push_pr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/workflows/on_push_pr.yaml -------------------------------------------------------------------------------- /.github/workflows/on_release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/workflows/on_release.yaml -------------------------------------------------------------------------------- /.github/workflows/repolinter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/workflows/repolinter.yml -------------------------------------------------------------------------------- /.github/workflows/security.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.github/workflows/security.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.gitignore -------------------------------------------------------------------------------- /.papers_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.papers_config.yml -------------------------------------------------------------------------------- /.semgrep.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/.semgrep.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/README.md -------------------------------------------------------------------------------- /THIRD_PARTY_NOTICES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/THIRD_PARTY_NOTICES.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/go.sum -------------------------------------------------------------------------------- /legacy/postgresql-definition.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/legacy/postgresql-definition.yml -------------------------------------------------------------------------------- /legacy/postgresql-win-definition.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/legacy/postgresql-win-definition.yml -------------------------------------------------------------------------------- /papers_manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/papers_manifest.yml -------------------------------------------------------------------------------- /postgresql-config.yml.k8s_sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/postgresql-config.yml.k8s_sample -------------------------------------------------------------------------------- /postgresql-config.yml.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/postgresql-config.yml.sample -------------------------------------------------------------------------------- /postgresql-custom-query.yml.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/postgresql-custom-query.yml.sample -------------------------------------------------------------------------------- /postgresql-log.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/postgresql-log.yml.example -------------------------------------------------------------------------------- /queries/database_queries.pgsql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/queries/database_queries.pgsql -------------------------------------------------------------------------------- /queries/instance_queries.pgsql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/queries/instance_queries.pgsql -------------------------------------------------------------------------------- /queries/inventory.pgsql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/queries/inventory.pgsql -------------------------------------------------------------------------------- /src/args/argument_list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/args/argument_list.go -------------------------------------------------------------------------------- /src/args/argument_list_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/args/argument_list_test.go -------------------------------------------------------------------------------- /src/collection/collection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/collection/collection.go -------------------------------------------------------------------------------- /src/collection/collection_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/collection/collection_test.go -------------------------------------------------------------------------------- /src/connection/pgsql_connection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/connection/pgsql_connection.go -------------------------------------------------------------------------------- /src/connection/pgsql_connection_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/connection/pgsql_connection_mock.go -------------------------------------------------------------------------------- /src/connection/pgsql_connection_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/connection/pgsql_connection_test.go -------------------------------------------------------------------------------- /src/fips.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/fips.go -------------------------------------------------------------------------------- /src/inventory/inventory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/inventory/inventory.go -------------------------------------------------------------------------------- /src/inventory/inventory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/inventory/inventory_test.go -------------------------------------------------------------------------------- /src/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/main.go -------------------------------------------------------------------------------- /src/metrics/database_definitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/database_definitions.go -------------------------------------------------------------------------------- /src/metrics/database_definitions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/database_definitions_test.go -------------------------------------------------------------------------------- /src/metrics/index_definitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/index_definitions.go -------------------------------------------------------------------------------- /src/metrics/instance_definitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/instance_definitions.go -------------------------------------------------------------------------------- /src/metrics/instance_definitions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/instance_definitions_test.go -------------------------------------------------------------------------------- /src/metrics/lock_definitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/lock_definitions.go -------------------------------------------------------------------------------- /src/metrics/metric_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/metric_types.go -------------------------------------------------------------------------------- /src/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/metrics.go -------------------------------------------------------------------------------- /src/metrics/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/metrics_test.go -------------------------------------------------------------------------------- /src/metrics/modelers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/modelers.go -------------------------------------------------------------------------------- /src/metrics/pgbouncer_definitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/pgbouncer_definitions.go -------------------------------------------------------------------------------- /src/metrics/table_definitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/table_definitions.go -------------------------------------------------------------------------------- /src/metrics/version_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/metrics/version_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-parameters/common_parameters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-parameters/common_parameters.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/common_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/common_helpers.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/common_helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/common_helpers_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/constants.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/ingestion-helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/ingestion-helpers.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/ingestion_helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/ingestion_helper_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/query_fetch_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/query_fetch_helpers.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/common-utils/query_fetch_helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/common-utils/query_fetch_helpers_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/datamodels/performance_data_models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/datamodels/performance_data_models.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/blocking_sessions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/blocking_sessions.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/blocking_sessions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/blocking_sessions_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/execution_plan_metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/execution_plan_metrics.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/execution_plan_metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/execution_plan_metrics_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/individual_query_metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/individual_query_metrics.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/individual_query_metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/individual_query_metrics_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/slow_query_metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/slow_query_metrics.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/slow_query_metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/slow_query_metrics_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/wait_event_metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/wait_event_metrics.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/performance-metrics/wait_event_metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/performance-metrics/wait_event_metrics_test.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/queries/queries.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/queries/queries.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/query_performance_main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/query_performance_main.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/validations/performance_metrics_validations.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/validations/performance_metrics_validations.go -------------------------------------------------------------------------------- /src/query-performance-monitoring/validations/performance_metrics_validations_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/src/query-performance-monitoring/validations/performance_metrics_validations_test.go -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/docker-compose-performance.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/docker-compose-performance.yml -------------------------------------------------------------------------------- /tests/docker-compose-pgbouncer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/docker-compose-pgbouncer.yml -------------------------------------------------------------------------------- /tests/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/docker-compose.yml -------------------------------------------------------------------------------- /tests/perf-testing/integration/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/integration/Dockerfile -------------------------------------------------------------------------------- /tests/perf-testing/latest_supported/01-init-extensions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/latest_supported/01-init-extensions.sql -------------------------------------------------------------------------------- /tests/perf-testing/latest_supported/02-create-database.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE titanic; -------------------------------------------------------------------------------- /tests/perf-testing/latest_supported/03-import-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/latest_supported/03-import-data.sql -------------------------------------------------------------------------------- /tests/perf-testing/latest_supported/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/latest_supported/Dockerfile -------------------------------------------------------------------------------- /tests/perf-testing/oldest_supported/01-init-extensions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/oldest_supported/01-init-extensions.sql -------------------------------------------------------------------------------- /tests/perf-testing/oldest_supported/02-create-database.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE titanic; -------------------------------------------------------------------------------- /tests/perf-testing/oldest_supported/03-import-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/oldest_supported/03-import-data.sql -------------------------------------------------------------------------------- /tests/perf-testing/oldest_supported/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/perf-testing/oldest_supported/Dockerfile -------------------------------------------------------------------------------- /tests/postgresql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/postgresql_test.go -------------------------------------------------------------------------------- /tests/postgresqlperf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/postgresqlperf_test.go -------------------------------------------------------------------------------- /tests/simulation/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/simulation/helpers.go -------------------------------------------------------------------------------- /tests/simulation/sim_queries.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/simulation/sim_queries.go -------------------------------------------------------------------------------- /tests/testdata/blocking-sessions-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/blocking-sessions-schema.json -------------------------------------------------------------------------------- /tests/testdata/execution-plan-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/execution-plan-schema.json -------------------------------------------------------------------------------- /tests/testdata/individual-queries-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/individual-queries-schema.json -------------------------------------------------------------------------------- /tests/testdata/jsonschema-inventory-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/jsonschema-inventory-latest.json -------------------------------------------------------------------------------- /tests/testdata/jsonschema-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/jsonschema-latest.json -------------------------------------------------------------------------------- /tests/testdata/jsonschema96.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/jsonschema96.json -------------------------------------------------------------------------------- /tests/testdata/slow-queries-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/slow-queries-schema.json -------------------------------------------------------------------------------- /tests/testdata/wait-events-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/newrelic/nri-postgresql/HEAD/tests/testdata/wait-events-schema.json --------------------------------------------------------------------------------