mirror of
https://github.com/valitydev/riak_exporter.git
synced 2024-11-06 02:15:17 +00:00
Fixed some stuff with ports and manifest
This commit is contained in:
parent
f19fb3fad1
commit
1a6ba895bf
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
@ -0,0 +1,2 @@
|
||||
include README.md
|
||||
include LICENSE
|
@ -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.
|
||||
|
4
setup.py
4
setup.py
@ -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',
|
||||
],
|
||||
}
|
||||
)
|
||||
)
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user