🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] ## 概述 grafana 有开源的技术方案 ## 开源 > [所有开源 exporter](https://github.com/prometheus/prometheus/wiki/Default-port-allocations) ### win_exporter 监控 win https://github.com/prometheus-community/windows_exporter/ dashboard https://grafana.com/grafana/dashboards/10467 ### mysqld_exporter 监控mysql https://github.com/prometheus/mysqld_exporter dashboards 推荐 https://grafana.com/grafana/dashboards/17320-1-mysqld-exporter-dashboard/ 创建一个 .my.conf 文件,然后直接启动 ``` mysqld_exporter ``` ### apache_exporter 监控apache https://github.com/Lusitaniae/apache_exporter dashboards https://grafana.com/grafana/dashboards/3894-apache/ ### node_exporter 监控node https://github.com/prometheus/node_exporter dashboards https://grafana.com/grafana/dashboards/12633-linux/ ### mongodb_exporter 监控 mongodb https://github.com/percona/mongodb_exporter dashboards https://grafana.com/grafana/dashboards/12079-mongodb/ 启动 mongodb 监控 ``` ./mongodb_exporter --mongodb.uri=mongodb://127.0.0.1:27017 --collect-all ```