Skip to content

Commit

Permalink
Cleanup PR #139
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Aug 13, 2016
1 parent 1d4e392 commit e97b5b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func load(p *properties.Properties) (cfg *Config, err error) {
f.StringVar(&cfg.Metrics.Prefix, "metrics.prefix", Default.Metrics.Prefix, "prefix for reported metrics")
f.DurationVar(&cfg.Metrics.Interval, "metrics.interval", Default.Metrics.Interval, "metrics reporting interval")
f.StringVar(&cfg.Metrics.GraphiteAddr, "metrics.graphite.addr", Default.Metrics.GraphiteAddr, "graphite server address")
f.StringVar(&cfg.Metrics.StatsDAddr, "metrics.statsd.addr", Default.Metrics.StatsDAddr, "graphite server address")
f.StringVar(&cfg.Metrics.StatsDAddr, "metrics.statsd.addr", Default.Metrics.StatsDAddr, "statsd server address")
f.StringVar(&cfg.Registry.Backend, "registry.backend", Default.Registry.Backend, "registry backend")
f.StringVar(&cfg.Registry.File.Path, "registry.file.path", Default.Registry.File.Path, "path to file based routing table")
f.StringVar(&cfg.Registry.Static.Routes, "registry.static.routes", Default.Registry.Static.Routes, "static routes")
Expand Down
4 changes: 3 additions & 1 deletion fabio.properties
Original file line number Diff line number Diff line change
Expand Up @@ -496,13 +496,15 @@
#
# metrics.graphite.addr =

# metrics.statsd.addr configures the host:port of the Graphite

# metrics.statsd.addr configures the host:port of the StatsD
# server. This is required when ${metrics.target} is set to "statsd".
#
# The default is
#
# metrics.statsd.addr =


# runtime.gogc configures GOGC (the GC target percentage).
#
# Setting runtime.gogc is equivalent to setting the GOGC
Expand Down
6 changes: 3 additions & 3 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"revision": "b8345b7f01d571b05366d5791a034d872f1bb36f",
"revisionTime": "2015-08-25T20:22:00-07:00"
},
{
"path": "github.com/pubnub/go-metrics-statsd",
{
"path": "github.com/pubnub/go-metrics-statsd",
"revision": "979a88f88cc815576d43a09678d3925e84ca0ed9",
"revisionTime": "2016-08-12T16:29:00-09:00"
},
},
{
"path": "github.com/fatih/structs",
"revision": "5ada2f449b108d87dbd8c1e60c32cdd065c27886",
Expand Down

0 comments on commit e97b5b5

Please sign in to comment.