ソースを参照

Fix Grafana dashboard/datasource label

pull/838/head
Slavi Pantaleev 5年前
コミット
3ce9712388
2個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      roles/matrix-grafana/templates/dashboards.yaml.j2
  2. +1
    -1
      roles/matrix-grafana/templates/datasources.yaml.j2

+ 1
- 1
roles/matrix-grafana/templates/dashboards.yaml.j2 ファイルの表示

@@ -1,7 +1,7 @@
apiVersion: 1 apiVersion: 1


providers: providers:
- name: {{ matrix_domain }} - Dashboards
- name: {{ matrix_server_fqn_matrix }} - Dashboards
folder: '' # The folder where to place the dashboards folder: '' # The folder where to place the dashboards
type: file type: file
allowUiUpdates: true allowUiUpdates: true


+ 1
- 1
roles/matrix-grafana/templates/datasources.yaml.j2 ファイルの表示

@@ -1,7 +1,7 @@
apiVersion: 1 apiVersion: 1


datasources: datasources:
- name: {{ matrix_domain }} - Prometheus
- name: {{ matrix_server_fqn_matrix }} - Prometheus
type: prometheus type: prometheus
# Access mode - proxy (server in the UI) or direct (browser in the UI). # Access mode - proxy (server in the UI) or direct (browser in the UI).
access: proxy access: proxy


読み込み中…
キャンセル
保存