diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-03-15 11:19:34 +0100 |
|---|---|---|
| committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-03-15 11:23:26 +0100 |
| commit | 2f537b0a43c5fb6a11aafad6eba1e8d92cbc2893 (patch) | |
| tree | 70eb0e9da78d82116aec5cce3f928d2a77986a13 /README.md | |
| parent | 4afcd8732cbb33da63f665e7f3e0e4e9fe524e1e (diff) | |
| download | ouroboros-metrics-0.23.0.tar.gz ouroboros-metrics-0.23.0.zip | |
metric: Update to pyproject and version tags0.23.0
Updates the project to use a pyproject.toml file and use
setuptools_scm for versioning. Simplifies directory structure.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -10,13 +10,7 @@ More features will be added over time. ## Requirements: -InfluxDB 0SS 2.0, https://docs.influxdata.com/influxdb/v2.0/ - -python influxdb-client, install via - -``` -pip install 'influxdb-client[ciso]' -``` +InfluxDB OSS 2.0, https://docs.influxdata.com/influxdb/v2.0/ ## Optional requirements: @@ -45,14 +39,22 @@ select Dashboards -> Manage -> Import and then either upload the json file from this repository in -dashboards-grafana/general.json +dashboards/general.json or copy the contents of that file to the "Import via panel json" textbox and click "Load". ## Run the exporter: -Clone this repository and go to the pyExporter directory. +Clone this repository. + +Create and activate a virtual environment and install the dependencies: + +``` +python -m venv venv +source venv/bin/activate +pip install . +``` Edit the config.ini.example file and fill out the InfluxDB information (token, org). Save it as config.ini. @@ -60,6 +62,5 @@ information (token, org). Save it as config.ini. and run oexport.py ``` -cd exporters-influxdb/pyExporter/ python oexport.py ``` |
