Skip to content

Commit c7869eb

Browse files
committed
Merge pull request #27 from thraxil/statsd-doc-fix
Fix bug in statsd bucket name documentation
2 parents 3c9a4f6 + 5d12760 commit c7869eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func ExamplePanel_stats() {
137137
breaker := NewThresholdBreaker(10)
138138
panel := NewPanel()
139139
panel.Statter = s
140-
panel.StatsPrefixf = "sys.production"
140+
panel.StatsPrefixf = "sys.production.%s"
141141
panel.Add("x", breaker)
142142

143143
breaker.Trip() // sys.production.circuit.x.tripped

0 commit comments

Comments
 (0)