mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-23 01:01:31 +03:00
.. | ||
cassandra | ||
couchdb | ||
csv | ||
elasticsearch | ||
glances_influxdb | ||
graph | ||
graphite | ||
influxdb2 | ||
json | ||
kafka | ||
mongodb | ||
mqtt | ||
opentsdb | ||
prometheus | ||
rabbitmq | ||
restful | ||
riemann | ||
statsd | ||
zeromq | ||
__init__.py | ||
export.py | ||
README.rst |
=============== Glances experts =============== This is the Glances exporters folder. A Glances exporter is a Python module hosted in a folder. The name of the foo Glances exporter folder is foo (glances_foo). The exporter is a Python class named Export inherits the GlancesExport object: .. code-block:: python class Export(GlancesExport): """Glances foo exporter.""" def __init__(self, args=None, config=None): super(Export, self).__init__(config=config, args=args) pass A plugin should implement the following methods: - export(): export the self.stats variable to the exporter destination. Have a look of all Glances exporter's methods in the export.py file.