(self)
return False
Check if the agent has a consul dogstatsd profile configured
Check if the agent has a consul dogstatsd profile configured
Check if the agent has a consul dogstatsd profile configured
def _is_dogstatsd_configured(self):
        """Check if the agent has a consul dogstatsd profile configured"""
        dogstatsd_mapper = datadog_agent.get_config('dogstatsd_mapper_profiles')
        if dogstatsd_mapper:
            for profile in dogstatsd_mapper:
                if profile.get('name') == 'consul':
                    return True
        return False
def _is_dogstatsd_configured ( self ) : dogstatsd_mapper = datadog_agent . get_config ( 'dogstatsd_mapper_profiles' ) if dogstatsd_mapper : for profile in dogstatsd_mapper : if profile . get ( 'name' ) == 'consul' : return True return False