Traceback (most recent call last):

 "/usr/share/datadog/agent/checks/__init__.py", line 423, in run
self.check(instance)

 "/usr/share/datadog/agent/checks.d/postgres.py", line 72, in check
database='postgres')

 "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
connection_factory=connection_factory, async=async)OperationalError: could not connect to server: Connection refused

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-build-B_GnPn/rows/setup.py", line 79, in <module>

'Topic :: Utilities',


 "/usr/lib/python2.7/distutils/core.py", line 151, in setup

dist.run_commands()


 "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)


 "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/home/lucas/venvs/sismart/local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run

return orig.install.run(self)


 "/usr/lib/python2.7/distutils/command/install.py", line 601, in run

self.run_command('build')


 "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/usr/lib/python2.7/distutils/command/build.py", line 128, in run

self.run_command(cmd_name)


 "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/home/lucas/venvs/sismart/local/lib/python2.7/site-packages/setuptools/command/build_py.py", line 46, in run

self.build_packages()


 "/usr/lib/python2.7/distutils/command/build_py.py", line 373, in build_packages

self.build_module(module, module_file, package)


 "/home/lucas/venvs/sismart/local/lib/python2.7/site-packages/setuptools/command/build_py.py", line 65, in build_module

package)


 "/usr/lib/python2.7/distutils/command/build_py.py", line 334, in build_module

"'package' must be a string (dot-separated), list, or tuple")

TypeError: 'package' must be a string (dot-separated), list, or tuple
