module
Version:
v0.0.0-...-8d25fb5
Opens a new window with list of versions in this module.
Published: Jul 30, 2023
License: MIT
Opens a new window with license information.
README
¶
主要功能
- 开箱即用的
Prometheus Exporter
和配套的Grafana Dashboard
- 自动更新
自定义运营商IP集
和域名分流列表
- 直接作为
Go Module
引用
使用方法
- 登录iKuai -> 系统设置 -> 登陆管理 -> 账号设置 -> 添加
- 根据情况填入用户名密码
- 确保
默认权限
为新功能可读写
- 确保
权限等级设置
中表头的访问
为勾选状态
- 如需运行流控相关定时任务则勾选
流控分流
一行的修改
权限
- 保存退出
环境变量
查看 docker-compose.yml
启动服务
mkdir ikuai-aio && cd ikuai-aio
wget https://raw.githubusercontent.com/NERVEbing/ikuai-aio/master/deploy/docker-compose.yml
# 确保根据实际情况修改 docker-compose.yml 后
docker compose up -d
导入 Grafana 面板
查看 Grafana Dashboard 或直接导入面板ID: 19247
Prometheus Exporter Collectors
Name |
Example |
version |
ikuai_version{arch="x86",ver_string="3.7.4 x64 Build202307111447",version="3.7.4"} 1 |
up |
ikuai_up{id="host"} 1 |
uptime |
ikuai_uptime{id="host"} 1.481335e+06 |
cpu_usage_ratio |
ikuai_cpu_usage_ratio{id="core/1"} 0.06 |
cpu_temperature |
ikuai_cpu_temperature 42.6 |
memory_size_kilo_bytes |
ikuai_memory_size_kilo_bytes 3.898132e+06 |
memory_usage_kilo_bytes |
ikuai_memory_usage_kilo_bytes 792580 |
memory_cached_kilo_bytes |
ikuai_memory_cached_kilo_bytes 87504 |
memory_buffers_kilo_bytes |
ikuai_memory_buffers_kilo_bytes 136664 |
interface_info |
ikuai_interface_info{comment="",display="wan1",id="interface/wan1",interface="wan1",internet="PPPOE",ip_addr="xxx.xx.xxx.xx",parent_interface="wan1"} 1 |
device_count |
ikuai_device_count 26 |
device_info |
ikuai_device_info{comment="home-light-mi",display="home-light-mi",hostname="yeelink-light-lamp4_mibt1A2D",id="device/192.168.3.57",ip_addr="192.168.3.57",mac="xx:xx:xx:xx:xx:xx"} 1 |
network_upload_total_bytes |
ikuai_network_upload_total_bytes{display="home-light-mi",id="device/192.168.3.57"} 7.718279e+06 |
network_download_total_bytes |
ikuai_network_download_total_bytes{display="home-light-mi",id="device/192.168.3.57"} 7.008623e+06 |
network_upload_speed_bytes |
ikuai_network_upload_speed_bytes{display="home-light-mi",id="device/192.168.3.57"} 0 |
network_download_speed_bytes |
ikuai_network_download_speed_bytes{display="home-light-mi",id="device/192.168.3.57"} 0 |
network_connect_count |
ikuai_network_connect_count{display="home-light-mi",id="device/192.168.3.57"} 1 |
致谢
ztc1997/ikuai-bypass
jakeslee/ikuai-exporter
License
License MIT
Directories
¶
Click to show internal directories.
Click to hide internal directories.