Skip to content

Commit

Permalink
update gitognore
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenmu.zyl committed Oct 21, 2018
1 parent 591542f commit 2550a4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ npm-debug.log
**/**/.vagrant
*.pdf
examples/localhost
.DS_Store
**/**/.DS_Store
4 changes: 2 additions & 2 deletions quickstart/prometheus-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

为了能够更加直观的了解Prometheus Server,接下来我们将在本地部署一个Prometheus Server实例,并且配合Node Exporter程序实现对本地主机指标的监控。

##### 安装Prometheus Server
#### 安装Prometheus Server

Prometheus基于Golang编写,编译后的软件包,不依赖于任何的第三方依赖。用户只需要下载对应平台的二进制包,解压并且添加基本的配置即可正常启动Prometheus Server。

Expand Down Expand Up @@ -80,7 +80,7 @@ docker run -p 9090:9090 -v /etc/prometheus/prometheus.yml:/etc/prometheus/promet

![Prometheus UI](./static/prometheus-ui-graph.png)

##### 使用Node Exporter采集主机运行数据
#### 使用Node Exporter采集主机运行数据

在Prometheus的架构设计中,Prometheus Server并不直接服务监控特定的目标,其主要任务负责数据的收集,存储并且对外提供数据查询支持。因此为了能够能够监控到某些东西,如主机的CPU使用率,我们需要使用到Exporter。Prometheus周期性的从Exporter暴露的HTTP服务地址(通常是/metrics)拉取监控样本数据。

Expand Down
Binary file modified quickstart/static/prometheus-ui-graph.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2550a4a

Please sign in to comment.