Visionaire4 maintenance tools suite
Project description
VISIONAIRE4
A suite of tools used for Visionaire4 maintenance.
Supported function subcommand:
export
: Export metrics and edge cases data from current machine to files.import
: Import metrics and edge cases data from the exported files to current machine.
Installation
Install it directly using pip:
$ pip install visionaire4 --upgrade
How to Use
Export
Before running export metrics make sure to have prometheus server to be running.
Export monitoring metrics data by running:
$ visionaire4 export metrics
This command will pull metrics data from prometheus server running in container named visionaire4
.
You can configure the container name where the prometheus server is running with:
$ visionaire4 export metrics --prom-name <container name>
This will export the file to the default directory of ~/nodeflux/export
.
You can configure where the exported file output directory with:
$ visionaire4 export metrics --out-dir <output directory>
Import
Import the exported data by running:
$ visionaire4 import metrics -f <path to exported file>
This will spawn a prometheus and grafana server and you can view the grafana dashboards at http://localhost:3000
with username admin
and password admin
.
All the required configs to run the prometheus and grafana server will be generated to the default directory of ~/nodeflux/import
.
You can configure the config directory with:
$ visionaire4 import metrics -f <path to exported file> --cfg-dir <config directory>
When you finished viewing the metrics data, you can shutdown the monitoring server by running:
$ visionaire4 import metrics --cfg-dir <config directory> --down
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for visionaire4-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6184553a1e1e1b57450afd66ecb3c83d24f87192d5fdf3e1f724101509824f14 |
|
MD5 | b2cdddca2463b111fe3b177bfe017e88 |
|
BLAKE2b-256 | d86cd67088dadd10013e2850b955462e2a2aab696fb351a48fb81b152c94a7ef |