Skip to content

Commit

Permalink
Merge pull request #27 from thraxil/statsd-doc-fix
Browse files Browse the repository at this point in the history
Fix bug in statsd bucket name documentation
  • Loading branch information
rubyist committed Aug 5, 2015
2 parents 3c9a4f6 + 5d12760 commit c7869eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func ExamplePanel_stats() {
breaker := NewThresholdBreaker(10)
panel := NewPanel()
panel.Statter = s
panel.StatsPrefixf = "sys.production"
panel.StatsPrefixf = "sys.production.%s"
panel.Add("x", breaker)

breaker.Trip() // sys.production.circuit.x.tripped
Expand Down

0 comments on commit c7869eb

Please sign in to comment.