From d0eecd461d665eaa771e3828e9da4b912181de8c Mon Sep 17 00:00:00 2001 From: jcgregorio Date: Wed, 18 Jun 2014 07:13:09 -0700 Subject: [PATCH] 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 --- experimental/webtry/webtry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/webtry/webtry.go b/experimental/webtry/webtry.go index 5c1443d6a..93e78c42d 100644 --- a/experimental/webtry/webtry.go +++ b/experimental/webtry/webtry.go @@ -290,7 +290,7 @@ func init() { // Start reporting metrics. // TODO(jcgregorio) We need a centrialized config server for storing things // 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) writeOutAllSourceImages()