Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Fix import dashboard (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo0127 authored and csuzhangxc committed May 6, 2019
1 parent 5134ad1 commit 8bfa3e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dm/dm-ansible/roles/check_config_static/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
when: groups['grafana_servers'] | length != 1

- name: Ensure alertmanager host exists
fail: msg="One grafana host should be specified in inventory.ini file."
fail: msg="One alertmanager host should be specified in inventory.ini file."
when: groups['alertmanager_servers'] | length != 1

- name: Check ansible_user variable
Expand Down
1 change: 1 addition & 0 deletions dm/dm-ansible/start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
datasource: "{{ cluster_name }}"
titles:
dm_worker: "{{ cluster_name | title }}-DM-worker"
dm_worker_instances: "{{ cluster_name | title }}-DM-worker-instances"

- name: import grafana dashboards - run import script
delegate_to: localhost
Expand Down

0 comments on commit 8bfa3e0

Please sign in to comment.