Skip to content

Commit

Permalink
1.promelog 时区由utc改为local
Browse files Browse the repository at this point in the history
2.使用makefile编译
3.移动配置文件位置
4.完善readme
  • Loading branch information
ning1875 committed Jan 8, 2021
1 parent 9eabc0e commit f0be576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ http://pushgateway_addr/metrics/job/<JOB_NAME>/<LABEL_NAME>/<LABEL_VALUE>
# pgw单点问题
## 如果简单把pgw挂在lb后面的问题
- lb后面rr轮询:如果不加控制的让push数据随机打到多个pushgateway实例上,prometheus无差别scrape会导致数据错乱,表现如下

![image](https://github.com/ning1875/dynamic-sharding/blob/master/images/pgw_miss.png)
![image](https://github.com/ning1875/dynamic-sharding/blob/master/images/pgw_miss2.png)
- 根本原因是在t1时刻 指标的值为10 t2时刻 值为20
Expand Down

0 comments on commit f0be576

Please sign in to comment.