mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 12:48:49 +08:00
feat: 新增 Grafana (#691)
This commit is contained in:
parent
e31c1bad33
commit
63c27f9aec
10
apps/grafana/10.2.2/data.yml
Normal file
10
apps/grafana/10.2.2/data.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 3000
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
18
apps/grafana/10.2.2/docker-compose.yml
Normal file
18
apps/grafana/10.2.2/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
grafana:
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
image: grafana/grafana:10.2.2
|
||||||
|
restart: always
|
||||||
|
user: '0'
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/grafana
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
19
apps/grafana/README.md
Normal file
19
apps/grafana/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# 默认账户密码
|
||||||
|
|
||||||
|
```
|
||||||
|
username:admin
|
||||||
|
password:admin
|
||||||
|
```
|
||||||
|
|
||||||
|
# Grafana
|
||||||
|
|
||||||
|
**Grafana** 允许您查询、可视化、警报和了解您的指标,无论它们存储在何处。与您的团队创建、探索和共享仪表板,并培养数据驱动的文化。
|
||||||
|
|
||||||
|
## 主要功能:
|
||||||
|
|
||||||
|
- **可视化**:快速、灵活的客户端图表,具有多种选项。面板插件提供了许多不同的方式来可视化指标和日志。
|
||||||
|
- **动态仪表板**:使用显示为仪表板顶部下拉菜单的模板变量创建动态且可重用的仪表板。
|
||||||
|
- **探索指标**:通过即席查询和动态钻取来探索数据。拆分视图并并排比较不同的时间范围、查询和数据源。
|
||||||
|
- **探索日志**:体验从指标切换到带有保留标签过滤器的日志的魔力。快速搜索所有日志或实时流式传输它们。
|
||||||
|
- **警报**:直观地定义最重要指标的警报规则。Grafana 将持续评估并向 Slack、PagerDuty、VictorOps、OpsGenie 等系统发送通知。
|
||||||
|
- **混合数据源**:在同一个图表中混合不同的数据源!您可以为每个查询指定数据源。这甚至适用于自定义数据源。
|
20
apps/grafana/data.yml
Normal file
20
apps/grafana/data.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Grafana
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
title: 用于监控和可观察的开源平台
|
||||||
|
type: 实用工具
|
||||||
|
description: 用于监控和可观察的开源平台
|
||||||
|
additionalProperties:
|
||||||
|
key: grafana
|
||||||
|
name: Grafana
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 用于监控和可观察的开源平台
|
||||||
|
shortDescEn: The open-source platform for monitoring and observability
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://grafana.com/
|
||||||
|
github: https://github.com/grafana/grafana
|
||||||
|
document: https://grafana.com/docs/grafana
|
BIN
apps/grafana/logo.png
Normal file
BIN
apps/grafana/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
Loading…
Reference in New Issue
Block a user