# Path: collectors/etc/riak_conf.py
# def onload(options, tags):
# def get_default_config():
# 
# Path: collectors/lib/utils.py
# PY3 = sys.version_info[0] > 2
# USER = "nobody"
# def drop_privileges(user=USER):
# def is_sockfile(path):
# def err(msg):
#     def is_numeric(value):
#     def is_numeric(value):


import json
import os
import sys
import time
from collectors.etc import riak_conf
from collectors.lib import utils
    from urllib.request import urlopen
    from urllib2 import urlopen
"""A collector to gather statistics from a Riak node.

The following all have tags of 'type' which can be 'get' or 'put'.  Latency
is measured in fractional seconds.  All latency values are calculated over the
last 60 seconds and are moving values.

 - riak.vnode.requests
 - riak.node.requests
 - riak.node.latency.mean
 - riak.node.latency.median
 - riak.node.latency.95th
 - riak.node.latency.99th
 - riak.node.latency.100th

These metrics have no tags and are global:

 - riak.memory.total
 - riak.memory.allocated
 - riak.executing_mappers
 - riak.sys_process_count
 - riak.read_repairs
 - riak.connections
 - riak.connected_nodes
"""



try:
except ImportError:


# Path: collectors/etc/riak_conf.py
# def onload(options, tags):
# def get_default_config():
# 
# Path: collectors/lib/utils.py
# PY3 = sys.version_info[0] > 2
# USER = "nobody"
# def drop_privileges(user=USER):
# def is_sockfile(path):
# def err(msg):
#     def is_numeric(value):
#     def is_numeric(value):


# Path: collectors/0/riak.py
import json
import os
import sys
import time
from collectors.etc import riak_conf
from collectors.lib import utils
    from urllib.request import urlopen
    from urllib2 import urlopen

"""A collector to gather statistics from a Riak node.

The following all have tags of 'type' which can be 'get' or 'put'.  Latency
is measured in fractional seconds.  All latency values are calculated over the
last 60 seconds and are moving values.

 - riak.vnode.requests
 - riak.node.requests
 - riak.node.latency.mean
 - riak.node.latency.median
 - riak.node.latency.95th
 - riak.node.latency.99th
 - riak.node.latency.100th

These metrics have no tags and are global:

 - riak.memory.total
 - riak.memory.allocated
 - riak.executing_mappers
 - riak.sys_process_count
 - riak.read_repairs
 - riak.connections
 - riak.connected_nodes
"""



try:
except ImportError:


CONFIG = riak_conf.get_default_config()