Skip to content

Prevent command already in progress errors in the Postgres integration #8954

Prevent command already in progress errors in the Postgres integration

Prevent command already in progress errors in the Postgres integration #8954

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results succeeded Aug 7, 2023 in 0s

All 221 tests pass, 2 skipped in 13m 19s

     12 files       12 suites   13m 19s ⏱️
   223 tests    221 ✔️   2 💤 0
1 344 runs  1 296 ✔️ 48 💤 0

Results for commit 8664978.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 skipped tests found

There are 2 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
postgres.tests.test_pg_replication ‑ test_conflicts_bufferpin
postgres.tests.test_statements ‑ test_statement_samples_unique_plans_rate_limits

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

223 tests found

There are 223 tests, see "Raw output" for the full list of tests.
Raw output
postgres.tests.test_connections ‑ test_conn_pool
postgres.tests.test_connections ‑ test_conn_pool_manages_connections
postgres.tests.test_connections ‑ test_conn_pool_no_leaks_on_close
postgres.tests.test_connections ‑ test_conn_pool_no_leaks_on_prune
postgres.tests.test_connections ‑ test_conn_pool_single_connection
postgres.tests.test_custom_metrics ‑ test_custom_metrics
postgres.tests.test_custom_metrics ‑ test_custom_queries
postgres.tests.test_deadlock ‑ test_deadlock
postgres.tests.test_discovery ‑ test_autodiscovery_collect_all_relations
postgres.tests.test_discovery ‑ test_autodiscovery_dbname_specified
postgres.tests.test_discovery ‑ test_autodiscovery_exceeds_min_interval
postgres.tests.test_discovery ‑ test_autodiscovery_max_databases
postgres.tests.test_discovery ‑ test_autodiscovery_refresh
postgres.tests.test_discovery ‑ test_autodiscovery_relations_disabled
postgres.tests.test_discovery ‑ test_autodiscovery_simple
postgres.tests.test_e2e ‑ test_e2e
postgres.tests.test_explain_parameterized_queries ‑ test_explain_parameterized_queries[SELECT * FROM pg_settings WHERE name = $1 AND context = (SELECT context FROM pg_settings WHERE vartype = $2) AND source = $3-DBExplainError.explained_with_prepared_statement]
postgres.tests.test_explain_parameterized_queries ‑ test_explain_parameterized_queries[SELECT * FROM pg_settings WHERE name = $1-DBExplainError.explained_with_prepared_statement]
postgres.tests.test_explain_parameterized_queries ‑ test_explain_parameterized_queries_generic_params[SELECT * FROM pg_settings WHERE name = $1 AND context = (SELECT context FROM pg_settings WHERE vartype = $2) AND source = $3-3]
postgres.tests.test_explain_parameterized_queries ‑ test_explain_parameterized_queries_generic_params[SELECT * FROM pg_settings WHERE name = $1-1]
postgres.tests.test_metadata ‑ test_collect_metadata
postgres.tests.test_metrics_cache ‑ test_aurora_replication_metrics[version0-False-expected_metrics0]
postgres.tests.test_metrics_cache ‑ test_aurora_replication_metrics[version1-True-expected_metrics1]
postgres.tests.test_metrics_cache ‑ test_aurora_replication_metrics[version2-False-expected_metrics2]
postgres.tests.test_metrics_cache ‑ test_aurora_replication_metrics[version3-True-expected_metrics3]
postgres.tests.test_metrics_cache ‑ test_dbm_enabled_conn_metric[version0-True-expected_metrics0]
postgres.tests.test_metrics_cache ‑ test_dbm_enabled_conn_metric[version1-False-expected_metrics1]
postgres.tests.test_metrics_cache ‑ test_dbm_enabled_conn_metric[version2-True-expected_metrics2]
postgres.tests.test_metrics_cache ‑ test_dbm_enabled_conn_metric[version3-False-expected_metrics3]
postgres.tests.test_metrics_cache ‑ test_dbm_enabled_conn_metric[version4-True-expected_metrics4]
postgres.tests.test_metrics_cache ‑ test_dbm_enabled_conn_metric[version5-False-expected_metrics5]
postgres.tests.test_pg_integration ‑ test_activity_metrics
postgres.tests.test_pg_integration ‑ test_activity_metrics_no_aggregations
postgres.tests.test_pg_integration ‑ test_activity_metrics_no_application_aggregation
postgres.tests.test_pg_integration ‑ test_backend_transaction_age
postgres.tests.test_pg_integration ‑ test_can_connect_service_check
postgres.tests.test_pg_integration ‑ test_common_metrics[False]
postgres.tests.test_pg_integration ‑ test_common_metrics[True]
postgres.tests.test_pg_integration ‑ test_common_metrics_without_size
postgres.tests.test_pg_integration ‑ test_config_tags_is_unchanged_between_checks
postgres.tests.test_pg_integration ‑ test_connections_metrics
postgres.tests.test_pg_integration ‑ test_correct_hostname[False--stubbed.hostname]
postgres.tests.test_pg_integration ‑ test_correct_hostname[False-forced_hostname-forced_hostname]
postgres.tests.test_pg_integration ‑ test_correct_hostname[True--resolved.hostname]
postgres.tests.test_pg_integration ‑ test_correct_hostname[True-forced_hostname-forced_hostname]
postgres.tests.test_pg_integration ‑ test_locks_metrics_no_relations
postgres.tests.test_pg_integration ‑ test_pg_control
postgres.tests.test_pg_integration ‑ test_query_timeout
postgres.tests.test_pg_integration ‑ test_schema_metrics
postgres.tests.test_pg_integration ‑ test_session_idle_and_killed
postgres.tests.test_pg_integration ‑ test_session_number
postgres.tests.test_pg_integration ‑ test_snapshot_xip
postgres.tests.test_pg_integration ‑ test_snapshot_xmin
postgres.tests.test_pg_integration ‑ test_state_clears_on_connection_error
postgres.tests.test_pg_integration ‑ test_unsupported_replication
postgres.tests.test_pg_integration ‑ test_uptime
postgres.tests.test_pg_integration ‑ test_version_metadata
postgres.tests.test_pg_integration ‑ test_wal_metrics
postgres.tests.test_pg_integration ‑ test_wal_stats
postgres.tests.test_pg_integration ‑ test_wrong_version
postgres.tests.test_pg_replication ‑ test_common_replica_metrics
postgres.tests.test_pg_replication ‑ test_conflicts_bufferpin
postgres.tests.test_pg_replication ‑ test_conflicts_lock
postgres.tests.test_pg_replication ‑ test_conflicts_snapshot
postgres.tests.test_pg_replication ‑ test_wal_receiver_metrics
postgres.tests.test_relations ‑ test_bloat_metrics[bloat disabled]
postgres.tests.test_relations ‑ test_bloat_metrics[bloat enabled]
postgres.tests.test_relations ‑ test_index_metrics
postgres.tests.test_relations ‑ test_locks_metrics[pg_newtable should be excluded from query since it starts with `pg_`]
postgres.tests.test_relations ‑ test_locks_metrics[pgtable should be included in lock metrics]
postgres.tests.test_relations ‑ test_locks_metrics[test with matching relkind should return 1]
postgres.tests.test_relations ‑ test_locks_metrics[test with single table lock should return 1]
postgres.tests.test_relations ‑ test_locks_metrics[test without matching relkind should return 0]
postgres.tests.test_relations ‑ test_max_relations
postgres.tests.test_relations ‑ test_partition_relation
postgres.tests.test_relations ‑ test_relations_metrics
postgres.tests.test_relations ‑ test_relations_metrics_regex
postgres.tests.test_relations ‑ test_relations_validation_accepts_list_of_str_and_dict
postgres.tests.test_relations ‑ test_relations_validation_fails_if_no_relname_or_regex
postgres.tests.test_relations ‑ test_relations_validation_fails_if_relkind_is_wrong_type
postgres.tests.test_relations ‑ test_relations_validation_fails_if_schemas_is_wrong_type
postgres.tests.test_relationsmanager ‑ test_relation_filter
postgres.tests.test_relationsmanager ‑ test_relation_filter_limit
postgres.tests.test_relationsmanager ‑ test_relation_filter_no_schemas
postgres.tests.test_relationsmanager ‑ test_relation_filter_regex
postgres.tests.test_relationsmanager ‑ test_relation_filter_relkind
postgres.tests.test_relationsmanager ‑ test_relations_cases[relations_config0-(( relname ~ 'ix.*' AND schemaname = ANY(array['public','s1','s2']::text[]) ) OR ( relname ~ 'ibx.*' AND schemaname = ANY(array['public']::text[]) ) OR ( relname ~ 'icx.*' AND schemaname = ANY(array['public']::text[]) ))]
postgres.tests.test_relationsmanager ‑ test_relations_cases[relations_config1-(( relname ~ '.+_archive' ))]
postgres.tests.test_relationsmanager ‑ test_relations_cases[relations_config2-(( relname = 'my_table' AND schemaname = ANY(array['public','app']::text[]) ) OR ( relname = 'my_table2' ) OR ( relname ~ 'table.*' ))]
postgres.tests.test_relationsmanager ‑ test_relations_cases[relations_config3-(( relname = 'table1' ) OR ( relname = 'table2' ))]
postgres.tests.test_relationsmanager ‑ test_relkind_does_not_apply_to_index_metrics
postgres.tests.test_replication_slot ‑ test_logical_replication_slots
postgres.tests.test_replication_slot ‑ test_physical_replication_slots
postgres.tests.test_statements ‑ test_activity_collection_rate_limit
postgres.tests.test_statements ‑ test_activity_reported_hostname[None-stubbed.hostname]
postgres.tests.test_statements ‑ test_activity_reported_hostname[override.hostname-override.hostname]
postgres.tests.test_statements ‑ test_activity_snapshot_collection[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-LOCK TABLE persons IN ACCESS EXCLUSIVE MODE-expected_out0-expected_keys0-expected_conn_out0-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_activity_snapshot_collection[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-LOCK TABLE persons IN ACCESS EXCLUSIVE MODE-expected_out0-expected_keys0-expected_conn_out0-pg_stat_activity]
postgres.tests.test_statements ‑ test_activity_snapshot_collection[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city as city0, city as city1, city as city2, city as city3, city as city4, city as city5, city as city6, city as city7, city as city8, city as city9, city as city10, city as city11, city as city12, city as city13, city as city14, city as city15, city as city16, city as city17, city as city18, city as city19, city as city20, city as city21, city as city22, city as city23, city as city24, city as city25, city as city26, city as city27, city as city28, city as city29, city as city30, city as city31, city as city32, city as city33, city as city34, city as city35, city as city36, city as city37, city as city38, city as city39, city as city40, city as city41, city as city42, city as city43, city as city44, city as city45, city as city46, city as city47, city as city48, city as city49, city as city50, city as city51, city as city52, city as city53, city as city54, city as city55, city as city56, city as city57, city as city58, city as city59, city as city60, city as city61 FROM persons WHERE city = 'hello';-LOCK TABLE persons IN ACCESS EXCLUSIVE MODE-expected_out1-expected_keys1-expected_conn_out1-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_activity_snapshot_collection[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city as city0, city as city1, city as city2, city as city3, city as city4, city as city5, city as city6, city as city7, city as city8, city as city9, city as city10, city as city11, city as city12, city as city13, city as city14, city as city15, city as city16, city as city17, city as city18, city as city19, city as city20, city as city21, city as city22, city as city23, city as city24, city as city25, city as city26, city as city27, city as city28, city as city29, city as city30, city as city31, city as city32, city as city33, city as city34, city as city35, city as city36, city as city37, city as city38, city as city39, city as city40, city as city41, city as city42, city as city43, city as city44, city as city45, city as city46, city as city47, city as city48, city as city49, city as city50, city as city51, city as city52, city as city53, city as city54, city as city55, city as city56, city as city57, city as city58, city as city59, city as city60, city as city61 FROM persons WHERE city = 'hello';-LOCK TABLE persons IN ACCESS EXCLUSIVE MODE-expected_out1-expected_keys1-expected_conn_out1-pg_stat_activity]
postgres.tests.test_statements ‑ test_async_job_cancel_cancel
postgres.tests.test_statements ‑ test_async_job_enabled[False-False-False]
postgres.tests.test_statements ‑ test_async_job_enabled[False-False-True]
postgres.tests.test_statements ‑ test_async_job_enabled[False-True-False]
postgres.tests.test_statements ‑ test_async_job_enabled[False-True-True]
postgres.tests.test_statements ‑ test_async_job_enabled[True-False-False]
postgres.tests.test_statements ‑ test_async_job_enabled[True-False-True]
postgres.tests.test_statements ‑ test_async_job_enabled[True-True-False]
postgres.tests.test_statements ‑ test_async_job_enabled[True-True-True]
postgres.tests.test_statements ‑ test_async_job_inactive_stop
postgres.tests.test_statements ‑ test_dbm_enabled_config[False-dbm]
postgres.tests.test_statements ‑ test_dbm_enabled_config[False-deep_database_monitoring]
postgres.tests.test_statements ‑ test_dbm_enabled_config[True-dbm]
postgres.tests.test_statements ‑ test_dbm_enabled_config[True-deep_database_monitoring]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-False-False-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-False-False-pg_stat_activity]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-False-True-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-False-True-pg_stat_activity]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-True-False-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-True-False-pg_stat_activity]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-True-True-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_disabled_activity_or_explain_plans[bob-bob-datadog_test-BEGIN TRANSACTION; SELECT city FROM persons WHERE city = 'hello';-True-True-pg_stat_activity]
postgres.tests.test_statements ‑ test_failed_explain_handling[select * from fake_schema.fake_table-error:explain-undefined_table-<class 'psycopg.errors.UndefinedTable'>-None-1-None]
postgres.tests.test_statements ‑ test_failed_explain_handling[select * from fake_table-error:explain-undefined_table-<class 'psycopg.errors.UndefinedTable'>-None-1-None]
postgres.tests.test_statements ‑ test_failed_explain_handling[select * from persons-error:explain-database_error-<class 'psycopg.errors.InsufficientPrivilege'>-datadog.explain_statement_noaccess-5-None]
postgres.tests.test_statements ‑ test_failed_explain_handling[select * from pg_settings where name = $1-error:explain-parameterized_query-<class 'psycopg.errors.UndefinedParameter'>-None-1-None]
postgres.tests.test_statements ‑ test_failed_explain_handling[select * from pg_settings where name = 'this query is truncated' limi-error:explain-database_error-<class 'psycopg.errors.SyntaxError'>-None-1-None]
postgres.tests.test_statements ‑ test_failed_explain_handling[update persons set firstname='firstname' where personid in (2, 1); select pg_sleep(1);-error:explain-database_error-<class 'psycopg.errors.InvalidCursorDefinition'>-None-1-None]
postgres.tests.test_statements ‑ test_get_db_explain_setup_state[datadog_test-None]
postgres.tests.test_statements ‑ test_get_db_explain_setup_state[dogs-None]
postgres.tests.test_statements ‑ test_get_db_explain_setup_state[dogs_nofunc-DBExplainError.failed_function]
postgres.tests.test_statements ‑ test_get_db_explain_setup_state[dogs_noschema-DBExplainError.invalid_schema]
postgres.tests.test_statements ‑ test_load_pg_settings[datadog]
postgres.tests.test_statements ‑ test_load_pg_settings[datadog_no_catalog]
postgres.tests.test_statements ‑ test_pg_settings_caching
postgres.tests.test_statements ‑ test_pg_stat_statements_dealloc
postgres.tests.test_statements ‑ test_pg_stat_statements_max_warning[10000-expected_warnings1]
postgres.tests.test_statements ‑ test_pg_stat_statements_max_warning[9999-expected_warnings0]
postgres.tests.test_statements ‑ test_statement_metadata[metadata0-expected_metadata_payload0-datadog.pg_stat_statements()]
postgres.tests.test_statements ‑ test_statement_metadata[metadata0-expected_metadata_payload0-pg_stat_statements]
postgres.tests.test_statements ‑ test_statement_metadata[metadata1-expected_metadata_payload1-datadog.pg_stat_statements()]
postgres.tests.test_statements ‑ test_statement_metadata[metadata1-expected_metadata_payload1-pg_stat_statements]
postgres.tests.test_statements ‑ test_statement_metrics[False-datadog.pg_stat_statements()-False-ignore_databases1]
postgres.tests.test_statements ‑ test_statement_metrics[False-datadog.pg_stat_statements()-False-ignore_databases2]
postgres.tests.test_statements ‑ test_statement_metrics[False-datadog.pg_stat_statements()-True-ignore_databases0]
postgres.tests.test_statements ‑ test_statement_metrics[False-pg_stat_statements-False-ignore_databases1]
postgres.tests.test_statements ‑ test_statement_metrics[False-pg_stat_statements-False-ignore_databases2]
postgres.tests.test_statements ‑ test_statement_metrics[False-pg_stat_statements-True-ignore_databases0]
postgres.tests.test_statements ‑ test_statement_metrics[True-datadog.pg_stat_statements()-False-ignore_databases1]
postgres.tests.test_statements ‑ test_statement_metrics[True-datadog.pg_stat_statements()-False-ignore_databases2]
postgres.tests.test_statements ‑ test_statement_metrics[True-datadog.pg_stat_statements()-True-ignore_databases0]
postgres.tests.test_statements ‑ test_statement_metrics[True-pg_stat_statements-False-ignore_databases1]
postgres.tests.test_statements ‑ test_statement_metrics[True-pg_stat_statements-False-ignore_databases2]
postgres.tests.test_statements ‑ test_statement_metrics[True-pg_stat_statements-True-ignore_databases0]
postgres.tests.test_statements ‑ test_statement_metrics_cloud_metadata[input_cloud_metadata0-output_cloud_metadata0]
postgres.tests.test_statements ‑ test_statement_metrics_cloud_metadata[input_cloud_metadata1-output_cloud_metadata1]
postgres.tests.test_statements ‑ test_statement_metrics_cloud_metadata[input_cloud_metadata2-output_cloud_metadata2]
postgres.tests.test_statements ‑ test_statement_metrics_cloud_metadata[input_cloud_metadata3-output_cloud_metadata3]
postgres.tests.test_statements ‑ test_statement_metrics_cloud_metadata[input_cloud_metadata4-output_cloud_metadata4]
postgres.tests.test_statements ‑ test_statement_metrics_database_errors[None-metric_columns4-error:database-missing_pg_stat_statements_required_columns-expected_warnings4]
postgres.tests.test_statements ‑ test_statement_metrics_database_errors[error0-metric_columns0-error:database-ObjectNotInPrerequisiteState-pg_stat_statements_not_loaded-expected_warnings0]
postgres.tests.test_statements ‑ test_statement_metrics_database_errors[error1-metric_columns1-error:database-UndefinedTable-pg_stat_statements_not_created-expected_warnings1]
postgres.tests.test_statements ‑ test_statement_metrics_database_errors[error2-metric_columns2-error:database-ObjectNotInPrerequisiteState-expected_warnings2]
postgres.tests.test_statements ‑ test_statement_metrics_database_errors[error3-metric_columns3-error:database-DatabaseError-expected_warnings3]
postgres.tests.test_statements ‑ test_statement_metrics_version[None-]
postgres.tests.test_statements ‑ test_statement_metrics_version[version0-v9.6.0]
postgres.tests.test_statements ‑ test_statement_metrics_with_duplicates
postgres.tests.test_statements ‑ test_statement_reported_hostname[None-stubbed.hostname]
postgres.tests.test_statements ‑ test_statement_reported_hostname[override.hostname-override.hostname]
postgres.tests.test_statements ‑ test_statement_run_explain_errors[SELECT city as city0, city as city1, city as city2, city as city3, city as city4, city as city5, city as city6, city as city7, city as city8, city as city9, city as city10, city as city11, city as city12, city as city13, city as city14, city as city15, city as city16, city as city17, city as city18, city as city19, city as city20, city as city21, city as city22, city as city23, city as city24, city as city25, city as city26, city as city27, city as city28, city as city29, city as city30, city as city31, city as city32, city as city33, city as city34, city as city35, city as city36, city as city37, city as city38, city as city39, city as city40, city as city41, city as city42, city as city43, city as city44, city as city45, city as city46, city as city47, city as city48, city as city49, city as city50, city as city51, city as city52, city as city53, city as city54, city as city55, city as city56, city as city57, city as city58, city as city59, city as city60, city as city61 FROM persons WHERE city = 123-error:explain-query_truncated-track_activity_query_size=1024-DBExplainError.query_truncated-track_activity_query_size=1024]
postgres.tests.test_statements ‑ test_statement_run_explain_errors[select * from fake_table-error:explain-undefined_table-<class 'psycopg.errors.UndefinedTable'>-DBExplainError.undefined_table-<class 'psycopg.errors.UndefinedTable'>]
postgres.tests.test_statements ‑ test_statement_run_explain_errors[select * from pg_settings where name = $1-error:explain-parameterized_query-<class 'psycopg.errors.UndefinedParameter'>-DBExplainError.parameterized_query-<class 'psycopg.errors.UndefinedParameter'>]
postgres.tests.test_statements ‑ test_statement_samples_collect[bob-bob-datadog_test-SELECT city FROM persons WHERE city = %s-hello-None-None-not_truncated-expected_warnings0-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_statement_samples_collect[bob-bob-datadog_test-SELECT city FROM persons WHERE city = %s-hello-None-None-not_truncated-expected_warnings0-pg_stat_activity]
postgres.tests.test_statements ‑ test_statement_samples_collect[bob-bob-datadog_test-SELECT city as city0, city as city1, city as city2, city as city3, city as city4, city as city5, city as city6, city as city7, city as city8, city as city9, city as city10, city as city11, city as city12, city as city13, city as city14, city as city15, city as city16, city as city17, city as city18, city as city19, city as city20, city as city21, city as city22, city as city23, city as city24, city as city25, city as city26, city as city27, city as city28, city as city29, city as city30, city as city31, city as city32, city as city33, city as city34, city as city35, city as city36, city as city37, city as city38, city as city39, city as city40, city as city41, city as city42, city as city43, city as city44, city as city45, city as city46, city as city47, city as city48, city as city49, city as city50, city as city51, city as city52, city as city53, city as city54, city as city55, city as city56, city as city57, city as city58, city as city59, city as city60, city as city61 FROM persons WHERE city = %s-\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac-error:explain-query_truncated-track_activity_query_size=1024-expected_collection_errors4-truncated-expected_warnings4-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_statement_samples_collect[bob-bob-datadog_test-SELECT city as city0, city as city1, city as city2, city as city3, city as city4, city as city5, city as city6, city as city7, city as city8, city as city9, city as city10, city as city11, city as city12, city as city13, city as city14, city as city15, city as city16, city as city17, city as city18, city as city19, city as city20, city as city21, city as city22, city as city23, city as city24, city as city25, city as city26, city as city27, city as city28, city as city29, city as city30, city as city31, city as city32, city as city33, city as city34, city as city35, city as city36, city as city37, city as city38, city as city39, city as city40, city as city41, city as city42, city as city43, city as city44, city as city45, city as city46, city as city47, city as city48, city as city49, city as city50, city as city51, city as city52, city as city53, city as city54, city as city55, city as city56, city as city57, city as city58, city as city59, city as city60, city as city61 FROM persons WHERE city = %s-\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac\u20ac-error:explain-query_truncated-track_activity_query_size=1024-expected_collection_errors4-truncated-expected_warnings4-pg_stat_activity]
postgres.tests.test_statements ‑ test_statement_samples_collect[dd_admin-dd_admin-dogs-SELECT * FROM breed WHERE name = %s-Labrador-None-None-not_truncated-expected_warnings1-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_statement_samples_collect[dd_admin-dd_admin-dogs-SELECT * FROM breed WHERE name = %s-Labrador-None-None-not_truncated-expected_warnings1-pg_stat_activity]
postgres.tests.test_statements ‑ test_statement_samples_collect[dd_admin-dd_admin-dogs_nofunc-SELECT * FROM kennel WHERE id = %s-123-error:explain-failed_function-<class 'psycopg.errors.UndefinedFunction'>-expected_collection_errors3-not_truncated-expected_warnings3-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_statement_samples_collect[dd_admin-dd_admin-dogs_nofunc-SELECT * FROM kennel WHERE id = %s-123-error:explain-failed_function-<class 'psycopg.errors.UndefinedFunction'>-expected_collection_errors3-not_truncated-expected_warnings3-pg_stat_activity]
postgres.tests.test_statements ‑ test_statement_samples_collect[dd_admin-dd_admin-dogs_noschema-SELECT * FROM kennel WHERE id = %s-123-error:explain-invalid_schema-<class 'psycopg.errors.InvalidSchemaName'>-expected_collection_errors2-not_truncated-expected_warnings2-datadog.pg_stat_activity()]
postgres.tests.test_statements ‑ test_statement_samples_collect[dd_admin-dd_admin-dogs_noschema-SELECT * FROM kennel WHERE id = %s-123-error:explain-invalid_schema-<class 'psycopg.errors.InvalidSchemaName'>-expected_collection_errors2-not_truncated-expected_warnings2-pg_stat_activity]
postgres.tests.test_statements ‑ test_statement_samples_config_invalid_number[collection_interval]
postgres.tests.test_statements ‑ test_statement_samples_config_invalid_number[explained_queries_cache_maxsize]
postgres.tests.test_statements ‑ test_statement_samples_config_invalid_number[explained_queries_per_hour_per_query]
postgres.tests.test_statements ‑ test_statement_samples_config_invalid_number[seen_samples_cache_maxsize]
postgres.tests.test_statements ‑ test_statement_samples_dbstrict[False]
postgres.tests.test_statements ‑ test_statement_samples_dbstrict[True]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[False-False-query_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[False-False-statement_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[False-True-query_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[False-True-statement_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[True-False-query_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[True-False-statement_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[True-True-query_samples]
postgres.tests.test_statements ‑ test_statement_samples_enabled_config[True-True-statement_samples]
postgres.tests.test_statements ‑ test_statement_samples_invalid_activity_view
postgres.tests.test_statements ‑ test_statement_samples_main_collection_rate_limit
postgres.tests.test_statements ‑ test_statement_samples_unique_plans_rate_limits
postgres.tests.test_statements ‑ test_truncate_activity_rows[active_rows0-expected_users0]
postgres.tests.test_statements ‑ test_truncate_activity_rows[active_rows1-expected_users1]
postgres.tests.test_statements ‑ test_truncate_activity_rows[active_rows2-expected_users2]
postgres.tests.test_unit ‑ test_get_instance_metrics_92
postgres.tests.test_unit ‑ test_get_instance_metrics_database_size_metrics
postgres.tests.test_unit ‑ test_get_instance_metrics_lt_92
postgres.tests.test_unit ‑ test_get_instance_metrics_state
postgres.tests.test_unit ‑ test_get_instance_with_default[False]
postgres.tests.test_unit ‑ test_get_instance_with_default[True]
postgres.tests.test_unit ‑ test_malformed_get_custom_queries
postgres.tests.test_unit ‑ test_query_timeout_connection_string
postgres.tests.test_unit ‑ test_replication_stats
postgres.tests.test_unit ‑ test_replication_tag
postgres.tests.test_unit ‑ test_resolved_hostname[False-stubbed.hostname]
postgres.tests.test_unit ‑ test_resolved_hostname[True-resolved.hostname]
postgres.tests.test_unit ‑ test_resolved_hostname_metadata[any_hostname]
postgres.tests.test_unit ‑ test_server_tag_[False-expected_tags1]
postgres.tests.test_unit ‑ test_server_tag_[True-expected_tags0]
postgres.tests.test_unit ‑ test_version_metadata[10.0-params1]
postgres.tests.test_unit ‑ test_version_metadata[11nightly3-params2]
postgres.tests.test_unit ‑ test_version_metadata[9.6.2-params0]
postgres.tests.test_version_utils ‑ test_parse_version
postgres.tests.test_version_utils ‑ test_throws_exception_for_unknown_version_format
postgres.tests.test_version_utils ‑ test_transform_version