Skip to content

Commit

Permalink
recovery annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
hcraM41 committed Aug 17, 2023
1 parent a6008a8 commit 675614d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serverplugin/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 675614d

Please sign in to comment.