一、安装
windows-exporter源码
下载对应版本
在windows中使用二进制方式部署
安装好之后,打开 http://127.0.0.1:9182/metrics
二、接入prometheus
1、通过静态文件配置加入
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