diff --git a/mysql/datadog_checks/mysql/config.py b/mysql/datadog_checks/mysql/config.py index 21018920f2a0d..318e341a1b5d9 100644 --- a/mysql/datadog_checks/mysql/config.py +++ b/mysql/datadog_checks/mysql/config.py @@ -89,7 +89,7 @@ def __init__(self, instance): } self.log_unobfuscated_queries = is_affirmative(instance.get('log_unobfuscated_queries', False)) self.log_unobfuscated_plans = is_affirmative(instance.get('log_unobfuscated_plans', False)) - self.database_instance_collection_interval = instance.get('database_instance_collection_interval', 1800) + self.database_instance_collection_interval = instance.get('database_instance_collection_interval', 300) self.configuration_checks() def _build_tags(self, custom_tags): diff --git a/mysql/tests/test_mysql.py b/mysql/tests/test_mysql.py index 9d09ce6cc2692..783cb12c9772e 100644 --- a/mysql/tests/test_mysql.py +++ b/mysql/tests/test_mysql.py @@ -737,7 +737,7 @@ def test_database_instance_metadata(aggregator, dd_run_check, instance_complex, assert event['dbms'] == "mysql" assert event['tags'].sort() == tags.METRIC_TAGS.sort() assert event['integration_version'] == __version__ - assert event['collection_interval'] == 1800 + assert event['collection_interval'] == 300 assert event['metadata'] == { 'dbm': dbm_enabled, 'connection_host': instance_complex['host'],