dynamic-sharding icon indicating copy to clipboard operation
dynamic-sharding copied to clipboard

用动态分片解决pushgateway高可用 单点 HA问题

Results 9 dynamic-sharding issues
Sort by recently updated
recently updated
newest added

为啥不使用代理模式,而要使用redirect来实现呢?

Could it be possible to have a documentation on how to setup your pushgateway in HA mode ? Thanks

![图片](https://user-images.githubusercontent.com/33709305/103965972-da585400-5199-11eb-8182-3781a57e6a8b.png) ``` consul_server: # consul api 地址 addr: localhost:8500 username: password: # promethues中consul sd中pgw service name register_service_name: pushgateway # 服务web addr http_listen_addr: :9292 # pgw信息 pushgateway: port: 9091 servers: -...

我测试好像不行。 echo "some_metric 3.14" | curl --data-binary @- http://10.211.55.3:9292/metrics/job/some_job 上传不了数据 echo "some_metric 3.14" | curl --data-binary @- http://10.211.55.3:9091/metrics/job/some_job 则可以。

https://segmentfault.com/a/1190000022894798

Pushgateway 本身性能很差,我们用单机的时候经常上报业务数据失败,用curl测试的时候有的时候时间需要20多秒才能成功,经常要重启pushgateway服务,否则会出现误报的情况。现在用集群感觉效果不错。想咨询一下日志,这两条的日志是什么意思,第二条97.53的时间可以理解用户端push成功总共花费的时间吗?谢谢! May 18 10:15:42 pushgateway01 dynamic-sharding[2013]: 2023/05/18 10:15:42 [PushMetrics][request_path:/metrics/job/job-rec/instance/192.168.94.43][redirect_url:http://192.168.74.233:9092/metrics/job/job-rec/instance/192.168.94.43] May 18 10:15:42 pushgateway01 dynamic-sharding[2013]: [GIN] 2023/05/18 - 10:15:42 | 307 | 97.53µs | 192.168.74.157 | POST "/metrics/job/job-rec/instance/192.168.94.43"

Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.0 to 1.9.0. Release notes Sourced from github.com/gin-gonic/gin's releases. v1.9.0 Changelog BREAK CHANGES Stop useless panicking in context and render #2150 BUG FIXES fix(router): tree bug where...

dependencies

如题,比如一个service后有3个pushgateway的pod,是不是就失效了?