зеркало из https://github.com/mozilla/moz-skia.git
Use DNS and not hard coded IP address of the monitoring server.
BUG=skia: R=mtklein@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/338873003
This commit is contained in:
Родитель
00fb42704a
Коммит
d0eecd461d
|
@ -290,7 +290,7 @@ func init() {
|
||||||
// Start reporting metrics.
|
// Start reporting metrics.
|
||||||
// TODO(jcgregorio) We need a centrialized config server for storing things
|
// TODO(jcgregorio) We need a centrialized config server for storing things
|
||||||
// like the IP address of the Graphite monitor.
|
// like the IP address of the Graphite monitor.
|
||||||
addr, _ := net.ResolveTCPAddr("tcp", "10.240.159.195:2003")
|
addr, _ := net.ResolveTCPAddr("tcp", "skia-monitoring-b:2003")
|
||||||
go metrics.Graphite(metrics.DefaultRegistry, 1*time.Minute, "webtry", addr)
|
go metrics.Graphite(metrics.DefaultRegistry, 1*time.Minute, "webtry", addr)
|
||||||
|
|
||||||
writeOutAllSourceImages()
|
writeOutAllSourceImages()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче