- 增加中央与边缘完整配置和部署脚本 - 引入 VictoriaMetrics 数据源与 remote_write 故障排查说明 - 新增 edge-agent 配置脚本、ONVIF 自建 exporter 与 ping 监控示例 Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
620 B
YAML
21 lines
620 B
YAML
# 管理员全局数据源配置
|
|
# 此数据源允许管理员查看所有数据(不受标签过滤限制)
|
|
# 放置在 provisioning/datasources/ 目录下会自动加载
|
|
|
|
apiVersion: 1
|
|
|
|
datasources:
|
|
- name: Prometheus-All-Data
|
|
type: prometheus
|
|
access: proxy
|
|
url: http://prometheus-central:9090
|
|
isDefault: false
|
|
editable: false
|
|
jsonData:
|
|
httpMethod: POST
|
|
queryTimeout: 60s
|
|
timeInterval: 15s
|
|
# 此数据源对所有组织可见(通过权限控制)
|
|
# 管理员可以使用无标签过滤的查询查看所有数据
|
|
# 例如: up 而不是 up{user_group="xxx"}
|