
* Allow Static/Generated/Cloud Specific Dashboards each to be toggled * Use Ansible boolean filter to ensure -e extra_vars are correctly casted to boolean Change-Id: Ic23d893e7edf7d32f4ebbc304ffcec626e1a7929
82 lines
2.8 KiB
YAML
82 lines
2.8 KiB
YAML
---
|
|
#
|
|
# Builds and Uploads Dashboards for Browbeat analysis of System Performance Metrics
|
|
#
|
|
# Three types of Grafana Dashboards:
|
|
# * Static Dashboards (Ex. cloud_system_performance_comparsion.json)
|
|
# * Generated General Dashboards (Ex. OpenStack General System Performance)
|
|
# * Generated Cloud Specific Dashboards ("Cloud01" CPU Graphs (for a specific cloud))
|
|
#
|
|
# The Cloud Specific Dashboards are the only ones that require a cloud's inventory be defined.
|
|
#
|
|
# If you have a cloud inventory defined, you can upload all dashboards via:
|
|
# ansible-playbook -i hosts install/grafana-dashboards.yml
|
|
#
|
|
# If you just want to upload Static and Generated General Dashboards:
|
|
# ansible-playbook -i hosts install/grafana-dashboards.yml -e 'upload_cloud_specific=false'
|
|
#
|
|
# If you just want to upload your Cloud Specific Dashboards:
|
|
# ansible-playbook -i hosts install/grafana-dashboards.yml -e 'upload_general=false upload_static=false'
|
|
#
|
|
|
|
- hosts: localhost
|
|
gather_facts: false
|
|
vars:
|
|
ansible_connection: local
|
|
upload_cloud_specific: true
|
|
upload_general: true
|
|
upload_static: true
|
|
overwrite_existing: true
|
|
cloud_specific_dashboards:
|
|
- cpu
|
|
- memory
|
|
- disk
|
|
- disks_all
|
|
- network
|
|
- log
|
|
general_dashboards:
|
|
- template_name: openstack
|
|
template_node_type: undercloud
|
|
process_list_name: OpenStack-Undercloud
|
|
- template_name: openstack
|
|
template_node_type: controller
|
|
process_list_name: OpenStack-Controller
|
|
- template_name: openstack
|
|
template_node_type: blockstorage
|
|
process_list_name: OpenStack-BlockStorage
|
|
- template_name: openstack
|
|
template_node_type: objectstorage
|
|
process_list_name: OpenStack-ObjectStorage
|
|
- template_name: openstack
|
|
template_node_type: cephstorage
|
|
process_list_name: OpenStack-CephStorage
|
|
- template_name: openstack
|
|
template_node_type: compute
|
|
process_list_name: OpenStack-Compute
|
|
- template_name: openstack
|
|
template_node_type: "*"
|
|
process_list_name: OpenStack
|
|
# Non-OpenStack specific dashboards that are included:
|
|
- template_name: baremetal
|
|
process_list_name: Baremetal
|
|
- template_name: guest
|
|
process_list_name: Guest
|
|
- template_name: graphite
|
|
process_list_name: Graphite
|
|
static_dashboards:
|
|
- apache_request_latency
|
|
- cloud_ceph_monitoring
|
|
- cloud_gnocchi_status
|
|
- cloud_instance_count
|
|
- cloud_keystone_token_count
|
|
- cloud_rabbitmq_monitoring
|
|
- cloud_system_performance_comparsion
|
|
- cloud_total_memory_usage
|
|
- gnocchi_performance
|
|
- iostat
|
|
- three_node_performance_food_groups
|
|
- openstack_ironic_metrics
|
|
roles:
|
|
- grafana-dashboards
|
|
environment: "{{proxy_env}}"
|