feat(monitoring): 接入 Loki + Promtail 日志采集,Grafana 可直接搜索容器日志
This commit is contained in:
1 parent
5d139783c9
commit
fc9e429187
4 files changed
+135
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Author: fruit.com.cn
|
||||
# Grafana 数据源:Loki 日志
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Loki
|
||||
uid: loki
|
||||
type: loki
|
||||
access: proxy
|
||||
url: http://loki:3100
|
||||
isDefault: false
|
||||
editable: false
|
||||
jsonData:
|
||||
maxLines: 1000
|
||||
Reference in new issue
Block a user