Auto-generated documentation.
Create a dashboard from an Openmetrics / Prometheus response.
polycli metrics-to-dash [flags]Here is how you can use this command.
$ polycli metrics-to-dash -i avail-metrics.txt -p avail. -t "Avail Devnet Dashboard" -T basedn -D devnet01.avail.polygon.private -T host -D validator-001 -s substrate_ -s sub_ -P true -S true
$ polycli metrics-to-dash -i avail-light-metrics.txt -p avail_light. -t "Avail Light Devnet Dashboard" -T basedn -D devnet01.avail.polygon.private -T host -D validator-001 -s substrate_ -s sub_ -P true -S true -d, --desc string description for the dashboard (default "Polycli Dashboard")
-H, --height int widget height (default 3)
-h, --help help for metrics-to-dash
-i, --input-file string the metrics file to be used
-p, --prefix string prefix to use before all metrics
-P, --pretty-name prettify metric names (default true)
-S, --show-help show help text for each metric
-s, --strip-prefix stringArray a prefix that can be removed from the metrics
-D, --template-var-defaults stringArray the defaults to use for the template variables
-T, --template-vars stringArray the template variables to use for the dashboard
-t, --title string title for the dashboard (default "Polycli Dashboard")
-W, --width int widget width (default 4)The command also inherits flags from parent commands.
--config string config file (default is $HOME/.polygon-cli.yaml)
--pretty-logs output logs in pretty format instead of JSON (default true)
-v, --verbosity string log level (string or int):
0 - silent
100 - panic
200 - fatal
300 - error
400 - warn
500 - info (default)
600 - debug
700 - trace (default "info")- polycli - A Swiss Army knife of blockchain tools.