feat: 新增 Node Exporter (#2184)
This commit is contained in:
parent
48a0065c43
commit
8c9916b7a9
|
|
@ -0,0 +1,10 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 9100
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
node_exporter:
|
||||||
|
image: prom/node-exporter:v1.8.2
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: unless-stopped
|
||||||
|
command:
|
||||||
|
- '--path.rootfs=/host'
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:9100
|
||||||
|
pid: host
|
||||||
|
volumes:
|
||||||
|
- '/:/host:ro,rslave'
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Node Exporter
|
||||||
|
|
||||||
|
**Node Exporter** 是一款用于收集系统级性能指标的导出器,专为 Prometheus 设计,支持从各类操作系统(如 Linux、Windows)中抓取硬件资源的使用情况。
|
||||||
|
|
||||||
|
## 主要功能:
|
||||||
|
|
||||||
|
- **CPU 使用率**:包括各核的使用情况和负载。
|
||||||
|
- **内存使用情况**:包括总内存、可用内存、缓存、交换区等信息。
|
||||||
|
- **磁盘使用情况**:包括各个挂载点的使用率、I/O 速率。
|
||||||
|
- **网络流量**:监控网络接口的流入和流出流量、错误包等。
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Node Exporter
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
title: 服务器指标导出器
|
||||||
|
description: 服务器指标导出器
|
||||||
|
additionalProperties:
|
||||||
|
key: node-exporter
|
||||||
|
name: Node Exporter
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 服务器指标导出器
|
||||||
|
shortDescEn: Exporter for machine metrics
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: false
|
||||||
|
limit: 1
|
||||||
|
recommend: 0
|
||||||
|
website: https://prometheus.io/
|
||||||
|
github: https://github.com/prometheus/node_exporter/
|
||||||
|
document: https://prometheus.io/docs/introduction/overview/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
Loading…
Reference in New Issue