feat: 新增 Node Exporter (#2184)

This commit is contained in:
wanghe 2024-09-26 22:07:10 +08:00 committed by GitHub
parent 434fbb66d4
commit 6f042f5276
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: 9100
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@ -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

View File

@ -0,0 +1,10 @@
# Node Exporter
**Node Exporter** 是一款用于收集系统级性能指标的导出器,专为 Prometheus 设计,支持从各类操作系统(如 Linux、Windows中抓取硬件资源的使用情况。
## 主要功能:
- **CPU 使用率**:包括各核的使用情况和负载。
- **内存使用情况**:包括总内存、可用内存、缓存、交换区等信息。
- **磁盘使用情况**包括各个挂载点的使用率、I/O 速率。
- **网络流量**:监控网络接口的流入和流出流量、错误包等。

View File

@ -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/

BIN
apps/node-exporter/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB