mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 13:12:24 +00:00
Update Grafana dashboard and datasource config (#1159)
This commit is contained in:
@@ -10,10 +10,12 @@ apiVersion: 1
|
||||
|
||||
# 仪表盘提供者列表
|
||||
providers:
|
||||
- name: 'fba_server'
|
||||
- name: fba_server
|
||||
orgId: 1
|
||||
type: 'file'
|
||||
type: file
|
||||
disableDeletion: true
|
||||
editable: false
|
||||
allowUiUpdates: false
|
||||
options:
|
||||
path: '/etc/grafana/dashboards'
|
||||
path: /etc/grafana/dashboards
|
||||
foldersFromFilesStructure: false
|
||||
|
||||
@@ -18,8 +18,11 @@ datasources:
|
||||
- name: Loki
|
||||
uid: loki
|
||||
type: loki
|
||||
access: proxy
|
||||
url: http://fba_loki:3100
|
||||
isDefault: false
|
||||
editable: false
|
||||
version: 1
|
||||
jsonData:
|
||||
derivedFields:
|
||||
- datasourceUid: tempo
|
||||
@@ -37,8 +40,11 @@ datasources:
|
||||
- name: Prometheus
|
||||
uid: prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://fba_prometheus:9090
|
||||
isDefault: true
|
||||
editable: false
|
||||
version: 1
|
||||
jsonData:
|
||||
httpMethod: POST
|
||||
exemplarTraceIdDestinations:
|
||||
@@ -53,8 +59,12 @@ datasources:
|
||||
- name: Tempo
|
||||
uid: tempo
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: http://fba_tempo:3200
|
||||
editable: false
|
||||
version: 1
|
||||
jsonData:
|
||||
httpMethod: GET
|
||||
nodeGraph:
|
||||
enabled: true
|
||||
tracesToLogsV2:
|
||||
|
||||
Reference in New Issue
Block a user