Window安装Prometheus
版本:2.33.0
一、Prometheus
Prometheus下载地址:https://prometheus.io/download/
目录结构:
二、windows_exporter
windows_exporter下载:https://github.com/prometheus-community/windows_exporter/releases
管理员运行即可
登录 localhost:9182 验证是否运行成功
指标:
三、配置Prometheus
修改prometheus.yml 文件
添加node_exporter(windows_exporter)节点:
- job_name: "node_exporter"
scrape_interval: 5smetrics_path: "/metrics"
static_configs:
- targets: ["localhost:9182"]
完整prometheus.yml:
# my global config
global:scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.# scrape_timeout is set to the global default (10s).# Alertmanager configuration
alerting:alertmanagers:- static_configs:- targets:# - alertmanager:9093# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:# - "first_rules.yml"# - "second_rules.yml"# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.- job_name: "prometheus"# metrics_path defaults to '/metrics'# scheme defaults to 'http'.static_configs:- targets: ["localhost:9090"]- job_name: "node_exporter"scrape_interval: 5sstatic_configs:- targets: ["localhost:9182"]
运行:
管理员方式运行 prometheus.exe 即可
localhost:9090 打开网站
四、Grafana查看
使用dashboard Id:
Prometheus2.0 (by FUSAKLA) dashboard for Grafana | Grafana Labs
3681
Window安装Prometheus相关推荐
- k8s安装Prometheus
注:必须要先搭建网页管理容器: k8s部署dashboard_kali_yao的博客-CSDN博客 1.Prometheus的概述 Prometheus是一个最初在SoundCloud上构建的开源监控 ...
- windows安装MongoDB进度条卡住,window安装mongo系统错误 2,系统错误5的解决办法(转载)...
windows安装MongoDB进度条卡住,window安装mongo系统错误 2,系统错误5的解决办法 转自:https://www.cnblogs.com/sufferingStriver/p/m ...
- Mac安装prometheus node_exporter
Mac 安装prometheus brew install prometheus 启动prometheus prometheus --config.file=/usr/local/etc/promet ...
- (十五) 构建springmvc+mybatis+dubbo分布式平台-window安装dubbo管控台
上一篇我们介绍<构建dubbo分布式平台-window安装dubbo管控台>,考虑到我们的开发环境是在window上,为了部署运行方便,今天来简单介绍一下window安装dubbo管控台. ...
- Linux安装prometheus+grafana监控
一.在业务中遇到服务器负载过高问题,由于没有监控,一直没发现,直到业务方反馈网站打开速度慢,才发现问题.这样显得开发很被动.所以是时候搭建一套监控系统了. 由于是业余时间自己捯饬,所以神马业务层面的监 ...
- Mac安装prometheus+grafana监控
软件安装 Prometheus 官网下载(https://prometheus.io/),支持Linux.Mac.Windows系统,很好很强大.我这里安装过Centos和Mac,这里的实例以Mac为 ...
- MOTT介绍(2)window安装MQTT服务器和client
MQTT目录: MQTT简单介绍 window安装MQTT服务器和client java模拟MQTT的发布,订阅 window安装MQTT服务器,我这里下载了一个 apache-apollo-1.7. ...
- 安装prometheus遇到:Failed to execute operation:file existed解决办法
win10 centos7 vmware 最近这两天在安装prometheus,遇到了一点问题,在设置prometheus后台启动的时候,输入 systemctl enable prometheus ...
- window安装weblogic教程
下载 weblogicWebLogic Server 12c (12.2.1), WebLogic Server 11g (10.3.6) and Previous Releases 解压后里面有个j ...
最新文章
- 民间的 Pokémon 知识图谱
- 极客新闻——15、软件测试自动化的最新趋势
- 秒杀(PHP,Redis,Lua)
- mySql比较并获取当前时间x分钟之前的数据(时间是字符串类型)
- 数字翻滚效果 HTML,js数字翻动效果 数字翻成中文怎么翻
- SAP Spartacus 里 对 isPlatformBrowser API 的使用
- 如何将React App转换为React Native
- HTML5 Canvas专题
- UVA10946 You want what filled?【DFS】
- 工欲善其事必先利其器——开发篇
- IIS 配置详解 请求长度限制调整
- Spark学习笔记1
- 【ACM- OJ】《六度分离》C++
- Overleaf——在线 LaTeX 编辑器
- 【背包问题】基于matlab禁忌搜索算法求解背包问题【含Matlab源码 373期】
- Matlab 隐函数方程求解最小二乘法拟合一阶线性拟合二阶拟合传感器实验
- java抛硬币,抛硬币模拟(Coin Tossing Simulation)
- 熔断的产生及解决方案
- 使用普通打印机打印条码标签
- sql优化和索引常见的面试题(面试总结)