glances/glances/exports
2023-12-16 15:00:04 +01:00
..
cassandra Improve Makefile to split minimal, full and dev virtualenv 2023-05-17 15:42:39 +02:00
couchdb Replace Bottle by FastAPI #2181 2023-12-16 15:00:04 +01:00
csv Merge from develop 2023-03-12 09:44:43 +01:00
elasticsearch Resolve merge conflicts 2022-09-08 10:15:16 +02:00
glances_influxdb Resolv first conflict 2022-07-26 10:37:44 +02:00
graph Merge from develop 2023-05-10 01:13:38 +05:30
graphite Resolv first conflict 2022-07-26 10:37:44 +02:00
influxdb2 Influxdb2 export not working #2407 2023-05-18 17:08:39 +02:00
json Solve conflicts 2022-11-19 16:08:18 +01:00
kafka Improve Makefile to split minimal, full and dev virtualenv 2023-05-17 15:42:39 +02:00
mongodb Change the way AMP are loaded #1930 2023-10-15 18:33:50 +02:00
mqtt chg: MQTT export - locate installed CA bundle with certifi 2023-05-10 02:00:09 +05:30
opentsdb Resolv first conflict 2022-07-26 10:37:44 +02:00
prometheus Docker Prometheus issue with IRQ plugin #2564 2023-10-07 10:15:41 +02:00
rabbitmq Resolv first conflict 2022-07-26 10:37:44 +02:00
restful Resolve merge conflicts 2022-09-08 10:15:16 +02:00
riemann Resolve merge conflicts 2022-09-08 10:15:16 +02:00
statsd Resolve merge conflicts 2022-09-08 10:15:16 +02:00
zeromq Solve conflicts 2022-11-19 16:08:18 +01:00
__init__.py Restructure folder. Add export father class. Refactor CSV export feature. 2014-12-25 23:32:53 +01:00
export.py Replace Bottle by FastAPI #2181 2023-12-16 15:00:04 +01:00
README.rst Add README.rst for plugins and exports 2021-09-04 17:01:38 +02:00

===============
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.