Crates.io | lorikeet-dash |
lib.rs | lorikeet-dash |
version | 0.1.0 |
source | src |
created_at | 2020-05-20 06:47:34.058343 |
updated_at | 2020-05-20 06:47:34.058343 |
description | A Web Dashboard for Lorikeet |
homepage | |
repository | https://github.com/cetra3/lorikeet-dash |
max_upload_size | |
id | 243707 |
size | 1,541,758 |
A Web Dashboard for Lorikeet:
Takes the lorikeet tests and turns them into a web dashboard.
You can install it via cargo
:
cargo install lorikeet-dash
You can use your existing lorikeet test.yml
file. If you don't have one, here's one to get you started:
CPU Load:
system: load_avg15m
Disk Free:
system: disk_free
Memory Free:
system: mem_free
Check Google:
http: https://www.google.com
Check Reddit:
http: https://www.reddit.com
Check Localhost:
http: http://localhost:3333/
Save this as test.yml
run it like so:
lorikeet-dash test.yml
Navigate to http://localhost:3333/ to view the dashboard.
You can use lorikeet-dash -h
to get a list of options:
USAGE:
lorikeet-dash [OPTIONS] [test-plan]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --config <config> Configuration File
-l, --listen <listen> Listen Address [default: 0.0.0.0:3333]
-r, --refresh_ms <refresh-ms> Refresh Interval [default: 10000]
ARGS:
<test-plan> Test Plan [default: test.yml]
You can run yarn build
in the front/
directory to build the frontend.
Alternatively, you can run yarn start
in one window and lorikeet-dash
in another to setup a dev environment.
the dist
directory is included on master so that you don't need NodeJS to compile it down.