Skip to content

Commit eb10a25

Browse files
committed
fix slurmstats/opensearch datasource version configuration
1 parent 7f40e32 commit eb10a25

File tree

1 file changed

+5
-1
lines changed
  • environments/common/inventory/group_vars/all

1 file changed

+5
-1
lines changed

environments/common/inventory/group_vars/all/grafana.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ grafana_datasources:
6363
url: "http://{{ prometheus_address }}:9090" # default prometheus port
6464
editable: true
6565
- name: slurmstats
66+
# see https://github.com/grafana/opensearch-datasource#configure-the-data-source-with-provisioning
6667
type: grafana-opensearch-datasource
6768
url: "https://{{ opensearch_address }}:9200"
6869
basicAuth: true
@@ -74,7 +75,10 @@ grafana_datasources:
7475
tlsSkipVerify: true
7576
database: filebeat-*
7677
timeField: "@timestamp"
77-
flavor: opensearch
78+
# Have to set flavor and version, but ansible/roles/opensearch/templates/opensearch.yml.j2 fakes version for filebeat
79+
# so need to set to fake version here:
80+
version: '7.10.2'
81+
flavor: elasticsearch
7882
editable: true
7983
# readOnly: false
8084

0 commit comments

Comments
 (0)