Giter VIP home page Giter VIP logo

ikuai-aio's Introduction

iKuai All in One

GitHub CodeFactor Go Reference
Go Report Card Build Status

grafana

主要功能

  • 开箱即用的Prometheus Exporter和配套的Grafana Dashboard
  • 自动更新自定义运营商IP集域名分流列表
  • 直接作为Go Module引用

使用方法

  1. 登录iKuai -> 系统设置 -> 登陆管理 -> 账号设置 -> 添加
  2. 根据情况填入用户名密码
  3. 确保默认权限新功能可读写
  4. 确保权限等级设置中表头的访问为勾选状态
  5. 如需运行流控相关定时任务则勾选流控分流一行的修改权限
  6. 保存退出

环境变量

查看 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

ikuai-aio's People

Contributors

nervebing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.