Skip to content

Commit

Permalink
Merge pull request #84 from k-t-yukana/grafana/add_grafana_datasource…
Browse files Browse the repository at this point in the history
…_es_version

Grafana/add grafana datasource es version
  • Loading branch information
stelcheck authored Aug 28, 2019
2 parents 627aab0 + a7d7af3 commit 521a905
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions buildconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ binary:
name: "dawn"

# The current version of the binary
version: "0.15.4"
version: "0.15.5"

# (Optional) URLs to call when attempting auto-update.
# Defaults:
Expand Down Expand Up @@ -78,7 +78,7 @@ image:
name: dawn

# Current image version
version: "0.15.4"
version: "0.15.5"

# Root folder where most files will be uploaded or mounted
root_folder: /dawn
Expand Down
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 521a905

Please sign in to comment.