Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
50d324d8
Commit
50d324d8
authored
7 years ago
by
Doug Szumski
Browse files
Options
Downloads
Patches
Plain Diff
Organise and update grafana-conf role variables
parent
b191dc70
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/group_vars/all/grafana
+8
-5
8 additions, 5 deletions
ansible/group_vars/all/grafana
ansible/overcloud-grafana-configure.yml
+4
-3
4 additions, 3 deletions
ansible/overcloud-grafana-configure.yml
etc/kayobe/grafana.yml
+9
-6
9 additions, 6 deletions
etc/kayobe/grafana.yml
with
21 additions
and
14 deletions
ansible/group_vars/all/grafana
+
8
−
5
View file @
50d324d8
...
@@ -10,8 +10,15 @@ grafana_local_admin_user_name: "grafana_admin"
...
@@ -10,8 +10,15 @@ grafana_local_admin_user_name: "grafana_admin"
# https://github.com/stackhpc/grafana-reference-dashboards.git
# https://github.com/stackhpc/grafana-reference-dashboards.git
grafana_monitoring_node_dashboard_repo:
grafana_monitoring_node_dashboard_repo:
# Dashboard repo version. Optional, defaults to 'HEAD'.
grafana_monitoring_node_dashboard_repo_version:
# Path to which Grafana dashboards will be cloned to a monitoring node
# Path to which Grafana dashboards will be cloned to a monitoring node
grafana_monitoring_node_dashboard_repo_path: "{{ source_checkout_path ~ '/grafana' }}"
grafana_monitoring_node_dashboard_repo_checkout_path: "{{ source_checkout_path ~ '/grafana-dashboards' }}"
# The path, relative to the grafana_monitoring_node_dashboard_repo_checkout_path
# containing the dashboards. Eg. /prometheus/control_plane
grafana_monitoring_node_dashboard_repo_path:
# The Grafana organisation for the control plane. Note that for Monasca
# The Grafana organisation for the control plane. Note that for Monasca
# Grafana with domain support the format is:
# Grafana with domain support the format is:
...
@@ -35,8 +42,4 @@ grafana_control_plane_organisation: "control_plane"
...
@@ -35,8 +42,4 @@ grafana_control_plane_organisation: "control_plane"
#
#
grafana_datasources: {}
grafana_datasources: {}
# The path, relative to the grafana_monitoring_node_dashboard_repo_path
# containing the dashboards. Eg. /prometheus/control_plane
grafana_monitoring_node_dashboard_path:
###############################################################################
###############################################################################
This diff is collapsed.
Click to expand it.
ansible/overcloud-grafana-configure.yml
+
4
−
3
View file @
50d324d8
...
@@ -33,8 +33,9 @@
...
@@ -33,8 +33,9 @@
grafana_conf_grafana_admin_user
:
"
{{
grafana_local_admin_user_name
}}"
grafana_conf_grafana_admin_user
:
"
{{
grafana_local_admin_user_name
}}"
grafana_conf_grafana_admin_pass
:
"
{{
grafana_admin_password
}}"
grafana_conf_grafana_admin_pass
:
"
{{
grafana_admin_password
}}"
grafana_conf_grafana_dashboard_repo
:
grafana_conf_grafana_dashboard_repo
:
path
:
"
{{
grafana_monitoring_node_dashboard_repo
}}"
repo
:
"
{{
grafana_monitoring_node_dashboard_repo
}}"
checkout_path
:
"
{{
grafana_monitoring_node_dashboard_repo_path
}}"
version
:
"
{{
grafana_monitoring_node_dashboard_repo_version
}}"
relative_path
:
"
{{
grafana_monitoring_node_dashboard_path
}}"
checkout_path
:
"
{{
grafana_monitoring_node_dashboard_repo_checkout_path
}}"
relative_path
:
"
{{
grafana_monitoring_node_dashboard_repo_path
}}"
grafana_conf_grafana_url
:
"
http://{{
kolla_internal_vip_address
}}:3000"
grafana_conf_grafana_url
:
"
http://{{
kolla_internal_vip_address
}}:3000"
grafana_conf_grafana_datasources
:
"
{{
grafana_datasources
}}"
grafana_conf_grafana_datasources
:
"
{{
grafana_datasources
}}"
This diff is collapsed.
Click to expand it.
etc/kayobe/grafana.yml
+
9
−
6
View file @
50d324d8
...
@@ -10,7 +10,14 @@
...
@@ -10,7 +10,14 @@
# https://github.com/stackhpc/grafana-reference-dashboards.git
# https://github.com/stackhpc/grafana-reference-dashboards.git
#grafana_monitoring_node_dashboard_repo:
#grafana_monitoring_node_dashboard_repo:
# Dashboard repo version. Optional, defaults to 'HEAD'.
#grafana_monitoring_node_dashboard_repo_version:
# Path to which Grafana dashboards will be cloned to a monitoring node
# Path to which Grafana dashboards will be cloned to a monitoring node
#grafana_monitoring_node_dashboard_repo_checkout_path:
# The path, relative to the grafana_monitoring_node_dashboard_repo_checkout_path
# containing the dashboards. Eg. /prometheus/control_plane
#grafana_monitoring_node_dashboard_repo_path:
#grafana_monitoring_node_dashboard_repo_path:
# The Grafana organisation for the control plane. Note that for Monasca
# The Grafana organisation for the control plane. Note that for Monasca
...
@@ -18,8 +25,8 @@
...
@@ -18,8 +25,8 @@
# organisation_name@openstack_domain
# organisation_name@openstack_domain
#grafana_control_plane_organisation:
#grafana_control_plane_organisation:
# A
lis
t of datasources to configure. See the stackhpc.grafana-conf role
# A
dic
t of datasources to configure. See the stackhpc.grafana-conf role
# for a
list of
supported datasources. Example:
# for a
ll
supported datasources. Example:
#
#
# grafana_datasources:
# grafana_datasources:
# monasca_api:
# monasca_api:
...
@@ -35,10 +42,6 @@
...
@@ -35,10 +42,6 @@
#
#
#grafana_datasources:
#grafana_datasources:
# The path, relative to the grafana_monitoring_node_dashboard_repo_path
# containing the dashboards. Eg. /prometheus/control_plane
#grafana_monitoring_node_dashboard_path:
###############################################################################
###############################################################################
# Dummy variable to allow Ansible to accept this file.
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743
:
yes
workaround_ansible_issue_8743
:
yes
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment