Fixed some stuff with ports and manifest

This commit is contained in:
Dmitry Litvinenko 2016-06-03 16:24:36 +03:00
parent f19fb3fad1
commit 1a6ba895bf
4 changed files with 6 additions and 4 deletions

2
MANIFEST.in Normal file
View File

@ -0,0 +1,2 @@
include README.md
include LICENSE

View File

@ -20,7 +20,7 @@ pip install riak_exporter
Then just:
```
riak-exporter --address=0.0.0.0 --port=8099 --riak=http://localhost:8099/stats --endpoint=/metrics
riak-exporter --address=0.0.0.0 --port=8097 --riak=http://localhost:8098/stats --endpoint=/metrics
```
All arguments are optional.

View File

@ -2,7 +2,7 @@ import io
from setuptools import setup, find_packages
import sys
VERSION = "0.0.1a1"
VERSION = "0.0.1a2"
PACKAGE_NAME = "riak_exporter"
SOURCE_DIR_NAME = "src"
@ -45,4 +45,4 @@ setup(
'riak-exporter = riak_exporter.__main__:main',
],
}
)
)

View File

@ -90,7 +90,7 @@ class RiakExporterServer(object):
DEFAULT_RIAK_STATS = "http://localhost:8098/stats"
DEFAULT_HOST = "0.0.0.0"
DEFAULT_PORT = 8099
DEFAULT_PORT = 8097
DEFAULT_ENDPOINT = r"/metrics"
def __init__(self, riak_stats=None, address=None, port=None, endpoint=None):