75d095b64e
In Kolla, an OpenStack project is created to store logs and metrics harvested from the control plane by Monasca. This commit enables the Monasca Datasource in the Grafana organisation which maps to this OpenStack control plane project. What this means in practice is that if a user logs into Monasca Grafana, and has access to the the control plane project, they will immediately be able to create dashboards using data from Monasca which has been gathered from the control plane. Support to enable creation of this datasource for other OpenStack projects can be added in a separate commit. Partially-Implements: blueprint monasca-grafana Change-Id: I03e741ddb1c582b7280c64637ed3e3683df6419b
39 lines
1.7 KiB
YAML
39 lines
1.7 KiB
YAML
---
|
|
- include_tasks: register.yml
|
|
when: inventory_hostname in groups['monasca-agent'] or
|
|
inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-log-api']
|
|
|
|
- include_tasks: config.yml
|
|
when: inventory_hostname in groups['monasca-agent'] or
|
|
inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-grafana'] or
|
|
inventory_hostname in groups['monasca-log-api'] or
|
|
inventory_hostname in groups['monasca-log-transformer'] or
|
|
inventory_hostname in groups['monasca-log-persister'] or
|
|
inventory_hostname in groups['monasca-log-metrics'] or
|
|
inventory_hostname in groups['monasca-thresh'] or
|
|
inventory_hostname in groups['monasca-notification'] or
|
|
inventory_hostname in groups['monasca-persister']
|
|
|
|
- include_tasks: bootstrap.yml
|
|
when: inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-grafana']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
- include_tasks: check.yml
|
|
when: inventory_hostname in groups['monasca-agent'] or
|
|
inventory_hostname in groups['monasca-api'] or
|
|
inventory_hostname in groups['monasca-grafana'] or
|
|
inventory_hostname in groups['monasca-log-api'] or
|
|
inventory_hostname in groups['monasca-log-transformer'] or
|
|
inventory_hostname in groups['monasca-log-persister'] or
|
|
inventory_hostname in groups['monasca-log-metrics'] or
|
|
inventory_hostname in groups['monasca-thresh'] or
|
|
inventory_hostname in groups['monasca-notification'] or
|
|
inventory_hostname in groups['monasca-persister']
|
|
|
|
- include_tasks: post_config.yml
|