
When I first started grafyaml, I wanted to better understand how existing OpenStack libraries worked. So, with that in mind, I choose oslo_log as the logging class for this program. However, now that we have imported it under openstack-infra, we don't really want to depend on OpenStack libraries, incase there is a breakage. The main reason for this, if OpenStack libraries break, we still want the infrastructure to work so we can fix the problem. Change-Id: Iee9b1d9d9abb4da4d285531b64a7e2505240be12 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
1.4 KiB
grafana-dashboard
SYNOPSIS
grafana-dashboard
[options] <command>
[<args>...]
DESCRIPTION
grafana-dashboard
is a CLI command to update Grafana
dashboards from yaml files.
OPTIONS
-h, --help Show the help. --config-dir DIR Path to a config directory to pull *.conf files from. This file set is sorted, so as to provide a predictable parse order if individual options are over-ridden. The set is parsed after the file(s) specified via previous --config-file, arguments hence over-ridden options in the directory take precedence. --config-file PATH Path to a config file to use. Multiple config files can be specified, with values in later files taking precedence. The default files used are: None. --debug Print debugging output(set logging level to DEBUG instead of default INFO level). --nodebug The inverse of --debug. --version Show program's version number and exit.
COMMANDS
Update Command
grafana-dashboard
[options] update <path>
Updates each specified dashboard to the lastest layout from parsed yaml files.
FILES
/etc/grafyaml/grafyaml.conf