Skip to content

Commit

Permalink
Add metrics address configuration option to agents
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Mar 19, 2019
1 parent a50f92f commit a6d896a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gossip/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ type Config struct {

// Interval to send out messages to other agents
ProcessInterval time.Duration

// Address to bind the metrics endpoint
MetricsAddr string
}

// AddrParts returns the parts of the BindAddr that should be
Expand Down

0 comments on commit a6d896a

Please sign in to comment.