Просмотр исходного кода

Fix Grafana dashboard/datasource label

pull/838/head
Slavi Pantaleev 5 лет назад
Родитель
Сommit
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


Загрузка…
Отмена
Сохранить