Commit 31558dbf authored by ale's avatar ale
Browse files

Added info on running the probes locally with --one-shot

parent f0b55291
Pipeline #7988 passed with stages
in 1 minute and 48 seconds
......@@ -60,3 +60,22 @@ password in the probe names above.
The application runs a simple HTTP server with a */metrics* endpoint
for Prometheus scraping.
## Running probes locally for testing purposes
Start by creating a Python virtualenv to install the dependencies of
this repository, and creating a directory for your configuration:
$ virtualenv --python=python3 venv
$ ./venv/bin/python3 develop
$ mkdir config
Put whatever configuration you want to test in a `.py` file in the
*config* directory (look at the examples above for references), then
run all the probes right away without starting a web server:
$ ./venv/bin/ai-diagnostics-server --config=config --one-shot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment