OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
|4 months ago|
|doc/source||1 year ago|
|etc||3 years ago|
|grafana_dashboards||5 months ago|
|tests||5 months ago|
|.coveragerc||3 years ago|
|.gitignore||3 years ago|
|.gitreview||4 months ago|
|.mailmap||4 years ago|
|.testr.conf||4 years ago|
|CONTRIBUTING.rst||4 years ago|
|HACKING.rst||4 years ago|
|LICENSE||4 years ago|
|MANIFEST.in||4 years ago|
|README.rst||1 year ago|
|openstack-common.conf||4 years ago|
|requirements.txt||1 year ago|
|setup.cfg||7 months ago|
|setup.py||3 years ago|
|test-requirements.txt||1 year ago|
|tox.ini||1 year ago|
grafyaml takes descriptions of Grafana dashboards in YAML format, and uses them to produce JSON formatted output suitable for direct import into Grafana.
The tool uses the Voluptuous data validation library to ensure the input produces a valid dashboard. Along with validation, users receive the benefits of YAML markup such as comments and clearer type support.
For example, here is a minimal dashboard specification
dashboard: time: from: "2018-02-07T08:42:27.000Z" to: "2018-02-07T13:48:32.000Z" templating: - name: hostname type: query datasource: graphite query: node* refresh: true title: My great dashboard rows: - title: CPU Usage height: 250px panels: - title: CPU Usage for $hostname type: graph datasource: graphite targets: - target: $hostname.Cpu.cpu_prct_used
grafyaml can be very useful in continuous-integration environments. Users can specify their dashboards via a normal review process and tests can validate their correctness.