diff --git a/README.md b/README.md index 8021ef1..963b48c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # statsdlog # -Simple daemon that consumes a syslog udp stream and generates statsd events based on the log lines it see's. +Simple daemon that consumes a syslog udp stream and generates statsd events when certain log lines are encountered. ### Configuration ### @@ -26,7 +26,7 @@ statsdlog sample config: - Point syslog udp stream to 127.0.0.1:8126 - Profit -It's important to note that the first match wins. An event will only be fired for the first match. +Its important to note that the first match wins. An event will only be fired for the first match. The included patterns.json example includes a few patterns for errors commonly encountered when running [swift](http://github.com/openstack/swift) @@ -34,8 +34,8 @@ The included patterns.json example includes a few patterns for errors commonly e Clone the version you want and build the package with [stdeb](https://github.com/astraw/stdeb "stdeb") (sudo apt-get install stdeb): - git clone git@github.com:pandemicsyn/statsdlog.git statsdlog-0.0.2 - cd statsdlog-0.0.2 - git checkout 0.0.2 + git clone git@github.com:pandemicsyn/statsdlog.git statsdlog-0.0.3 + cd statsdlog-0.0.3 + git checkout 0.0.3 python setup.py --command-packages=stdeb.command bdist_deb - dpkg -i deb_dist/python-statsdlog_0.0.2-1_all.deb + dpkg -i deb_dist/python-statsdlog_0.0.3-1_all.deb diff --git a/setup.py b/setup.py index 6234bfb..1d85266 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,11 @@ from setuptools import setup, find_packages +from statsdlog import __version__ as version -from informant import __version__ as version +install_requires = [] +try: + import eventlet +except ImportError: + install_requires.append("eventlet") name = "statsdlog" @@ -21,6 +26,6 @@ 'Programming Language :: Python :: 2.6', 'Environment :: No Input/Output (Daemon)', ], - install_requires=[], + install_requires=install_requires, scripts=['bin/statsdlog-server'] ) diff --git a/statsdlog/__init__.py b/statsdlog/__init__.py index 8757dbc..f6d0099 100644 --- a/statsdlog/__init__.py +++ b/statsdlog/__init__.py @@ -2,7 +2,7 @@ #: Version information (major, minor, revision[, 'dev']). -version_info = (0, 0, 1) +version_info = (0, 0, 3) #: Version string 'major.minor.revision'. version = __version__ = ".".join(map(str, version_info)) gettext.install('statsdlog')