Commit Graph

73 Commits (ec27ef53d47b7db41ce3ed89ae63b0e0b506efaf)

Author SHA1 Message Date
nicolargo f77553c458 System uptime in export #890 2016-10-23 12:49:47 +02:00
nicolargo 4458ac97ea Export uptime to CSV (issue #890) 2016-10-23 12:29:57 +02:00
Nicolargo d37c4306df ZeroMQ export module, close the context 2016-10-17 11:10:35 +02:00
nicolargo 6c502baf7a Correct somes PEP8 errors 2016-10-15 19:08:07 +02:00
nicolargo 2b0d33889a ZeroMQ plugin is now compatible with Python3 2016-10-15 15:57:44 +02:00
nicolargo 74593f13eb Add a ZeroMQ export module #939 2016-10-15 15:24:01 +02:00
nicolargo cf6735a746 Add a CouchDB exporter #928 2016-09-24 17:02:33 +02:00
Nicolargo de08dab5bb Convert readthedocs links for their .org -> .io migration for hosted projects (issue #877) 2016-07-06 16:26:49 +02:00
Nicolargo 02e9aa7232 Add Cassandra/Scylla export plugin #857 2016-06-10 16:16:41 +02:00
nicolargo a4613d1476 Resolv merge issue with issue696 2016-06-04 10:38:53 +02:00
Alessio Sergi cb27f0c734 No more Python 2.6 compatible string.format calls 2016-06-02 20:04:13 +02:00
nicolargo 857ec54daa Limit number of item is configurable through the restfull API 2016-05-30 15:56:22 +02:00
nicolargo fd23868c4b Change the way to store the value in the history 2016-05-29 14:38:44 +02:00
nicolargo 841d1156d4 Rename glances_history to graph 2016-05-29 10:40:19 +02:00
nicolargo 396f3acff6 Add new attribute class. Only for history for the moment 2016-05-28 16:25:54 +02:00
Nicolargo 3359da44a8 Correct log message 2016-04-28 16:39:59 +02:00
Alessio Sergi 8c5b74ed6a Fix some doc and comments
Add riemann to the index, otherwise it doesn't exist.
2016-03-29 11:29:13 +02:00
nicolargo 3dcb56326e Correct minor PEP8 and update doc 2016-03-26 17:45:48 +01:00
Nicolargo a61ef9748e Update NEWS file with Riemann export 2016-03-25 13:56:59 +01:00
Gergő Nagy 761036985a exports: riemann export implemented and documented
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>
2016-03-25 11:06:25 +01:00
nicolargo f863ec5ece Correct some minor PEP8 error 2016-03-13 16:57:16 +01:00
Alessio Sergi 887c811bde Fix another sorting issue in Python 3 2016-02-21 16:00:06 +01:00
nicolargo c9d2505749 Correct issue export InfluxDB 0.10 2016-02-07 16:20:23 +01:00
nicolargo 5422bbbddf Add a connector to ElasticSearch (welcome to Kibana dashboard) #311 2016-02-04 14:23:18 +01:00
Alessio Sergi 73bcd657eb Remove unused variable 'v' 2015-12-17 20:00:00 +01:00
nicolargo 8a7873ed7e InfluxDB > 0.9.3 needs float and not int for numerical value. Correct issue#749 and issue#750 2015-12-12 17:44:30 +01:00
Alessio Sergi a271eaf8ae Move core at the top of the module tree
Remove 'glances_' prefix from filenames.
2015-11-14 15:15:15 +01:00
Alessio Sergi cf7653e772 InfluxDB/OpenTSDB: fix broken tag parsing
Close #713.
2015-11-06 16:58:58 +01:00
Alessio Sergi 7b1dc3cf6d More super() call 2015-11-04 19:55:55 +01:00
Alessio Sergi 25f531e3d4 Use the new compat module 2015-11-03 17:06:18 +01:00
nicolargo 458b10800a Add timestamp to the CSV export module (issue #708) 2015-10-25 21:56:12 +01:00
Alessio Sergi 40c4b7ac23 exports: Python 3 compat 2015-09-20 19:21:26 +02:00
Nicolargo c364977df1 Add support for OpenTSDB export (issue #638) 2015-08-06 23:07:28 +02:00
Alessio Sergi afe5e6c7f2 Use Python 2.6 compatible string.format calls (closes #633) 2015-07-18 18:18:18 +02:00
Nicolargo e116ff4d45 Correct issue with long container name (Docker plugin) 2015-07-12 16:06:25 +02:00
Brandon Adams d40f01e0ed Support InfluxDB 0.9.x
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
```
2015-07-08 09:42:53 -05:00
nicolargo 4b1f5a2731 Allow export of Docker and sensors plugins stats to InfluxDB, StatsD... (issue #600) 2015-06-19 22:26:33 +02:00
Alessio Sergi 7d28fe8020 exports: use comprehensions instead of map/lambda
Use enumerate too.
2015-05-18 16:32:04 +02:00
Alessio Sergi 58a1361769 glances_influxdb.py: use client for InfluxDB v0.8.x
To use the API for 0.8.x, the legacy client has to be imported
explicitly.

Fix bad continuation.
2015-05-16 23:58:44 +02:00
Alessio Sergi 758edc60b3 Use isinstance() for type check 2015-05-16 12:45:45 +02:00
Alessio Sergi d79703f39f Remove unused variables 2015-05-16 10:25:16 +02:00
Alessio Sergi da661ee498 glances_rabbitmq.py: fix bad indentation 2015-05-14 20:17:26 +02:00
Alessio Sergi af0bd37744 flake8
- 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
2015-05-11 16:55:55 +02:00
Alessio Sergi 5e5c68171e PEP 257
- 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
2015-05-11 14:41:11 +02:00
nicolargo afe22e84f0 Correct an issue with the latest InfluxDB module 2015-05-08 10:41:54 +02:00
nicolargo 276654c43d Limits are now exported 2015-05-03 17:11:49 +02:00
Alessio Sergi 4318361517 No more system-wide configuration file by default
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.
2015-04-16 15:28:52 +02:00
nicolargo 49a579d6d1 Correct some PEP on the brand new RabbitMQ export module 2015-04-12 21:40:46 +02:00
Katyucha 3b8785968c RabbitMQ export : delete debug info 2015-04-07 20:43:47 +02:00
Katyucha 36c2f7d8c9 Update for python3. Need package python3-pika 2015-04-07 20:29:03 +02:00