Skip to content

Commit

Permalink
add grafana_datasource_es_version
Browse files Browse the repository at this point in the history
  • Loading branch information
ktakahashi committed Aug 28, 2019
1 parent 05d4700 commit a7d7af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker-image/ansible/roles/grafana/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ grafana_use_smtp: true
grafana_stmp_host: "{{ smtp_hostname }}:{{ smtp_port }}"
grafana_smtp_username: "{{ smtp_username }}"
grafana_smtp_password: "{{ smtp_password }}"
# Elasticsearch version as a number (2/5/56/60/70)
grafana_datasource_es_version: 56

ldap_server: "{{ group_ipv4.control[0] }}"
ldap_server_port: 389
Expand Down
2 changes: 1 addition & 1 deletion docker-image/ansible/roles/grafana/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
basicAuth: false
database: "[elasticsearch_metrics-]YYYY.MM.DD"
jsonData:
esVersion: 56
esVersion: "{{ grafana_datasource_es_version }}"
interval: "Daily"
keepCookies: []
maxConcurrentShardRequests: 256
Expand Down

0 comments on commit a7d7af3

Please sign in to comment.