瀏覽代碼

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

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


+ 1
- 1
roles/matrix-grafana/templates/datasources.yaml.j2 查看文件

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

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


Loading…
取消
儲存