瀏覽代碼

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


Loading…
取消
儲存