This patch introduces a new export method for sending metrics to
__Riemann__ server using _TCP_ protocol. The module can be enabled like
all the other exports in __Glances__, specifying the `--export-riemann`
option.
Sending metrics to Riemann requires
[bernhard](https://github.com/banjiewen/bernhard) that is
the most popular _Riemann client_ written in python.
In the configuration file you can only specify the `host` and `port`
that riemann is listening for new connections on. Later new options are
planned to be added like __SSL__ support and __UDP__.
Documentation and manpages are refreshed according to the modifications
in the config options and introducing the usage of Riemann export.
Signed-off-by: Gergő Nagy <grigori.grant@gmail.com>
This adds support for the JSON payload schema used in 0.9.x. This
also adds support for the tags feature available in 0.9.x via the
config option tags. Tags is a comma separated list of colon
separated key:value pairs. An example:
```
[influxdb]
tags = foo:bar,spam:eggs,region:us-east-1
```
- import statements are in the wrong order.
- missing whitespace around arithmetic operator
- blind except: statement
- multiple imports on one line
- trailing whitespace
- blank line contains whitespace
- line break before binary operator
- missing whitespace after ','
- block comment should start with '# '
- multiple spaces before operator
- 'logger' imported but unused
- expected 2 blank lines, found 1
- First line should end with a period
- No blank lines allowed after function docstring
- 1 blank line required between summary line and description
- 1 blank line required before class docstring
- Multi-line docstring closing quotes should be on a separate line
- No whitespaces allowed surrounding docstring text
- One-line docstring should fit on one line with quotes
- Use r""" if any backslashes in a docstring
Support remains there, but no system-wide configuration file will be
provided anymore.
Default configuration settings are initialized by code which may be
overridden by a configuration file.