diff --git a/openstack/datadog_checks/openstack/data/conf.yaml.example b/openstack/datadog_checks/openstack/data/conf.yaml.example index deb8f939d5f28..a20d61cb50a02 100644 --- a/openstack/datadog_checks/openstack/data/conf.yaml.example +++ b/openstack/datadog_checks/openstack/data/conf.yaml.example @@ -4,7 +4,8 @@ init_config: # Where your identity server lives. Note that the server must support Identity API v3 keystone_server_url: "https://my-keystone-server.com:/" - # The hostname of this machine registered with Nova. Defaults to socket.gethostname() + # The hostname of this machine registered with Nova. + # Defaults to the Hostname detected by the Agent - https://docs.datadoghq.com/agent/faq/how-datadog-agent-determines-the-hostname/ # os_host: my_hostname # Nova API version to use - this check supports v2 and v2.1 (default) diff --git a/openstack/datadog_checks/openstack/openstack.py b/openstack/datadog_checks/openstack/openstack.py index 3e974d4c126a7..74717eb79e0dd 100644 --- a/openstack/datadog_checks/openstack/openstack.py +++ b/openstack/datadog_checks/openstack/openstack.py @@ -1269,10 +1269,6 @@ def check(self, instance): if set_external_tags is not None: set_external_tags(self.get_external_host_tags()) - if projects: - # Ensure projects list and scoped project exists - self.get_stats_for_all_projects(projects) - except IncompleteConfig as e: if isinstance(e, IncompleteAuthScope): self.warning(