From 675614d309ad8d52930509352e55f2043f29bd56 Mon Sep 17 00:00:00 2001 From: 14March <53811984+hcraM41@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:32:28 +0800 Subject: [PATCH] recovery annotation --- serverplugin/metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serverplugin/metrics.go b/serverplugin/metrics.go index 4c29a13f..bf774e93 100644 --- a/serverplugin/metrics.go +++ b/serverplugin/metrics.go @@ -97,8 +97,8 @@ func (p *MetricsPlugin) Log(freq time.Duration, l metrics.Logger) { // Graphite reports metrics into graphite. // -// addr, _ := net.ResolveTCPAddr("tcp", "127.0.0.1:2003") -// p.Graphite(10e9, "metrics", addr) +// addr, _ := net.ResolveTCPAddr("tcp", "127.0.0.1:2003") +// p.Graphite(10e9, "metrics", addr) func (p *MetricsPlugin) Graphite(freq time.Duration, prefix string, addr *net.TCPAddr) { go metrics.Graphite(p.Registry, freq, prefix, addr) }