Skip to content

Commit

Permalink
remove metrics config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoferrer committed Jan 31, 2022
1 parent 1b0cfad commit ab63b93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions metricsbp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ type Config struct {
// Optional, default to false.
RunSysStats bool `yaml:"runSysStats"`

// ReportServerConnectionCount indicates that you want to publish
// a counter for the number of clients connected to the server
//
// Optional, defaults to false.
ReportServerConnectionCount bool `yaml:"reportServerConnectionCount"`

// By default, when Endpoint is empty,
// the Statsd uses a blackhole sink to send statsd metrics to.
// Set this to true to buffer all statsd metrics in memory until they are read
Expand Down
1 change: 0 additions & 1 deletion thriftbp/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ func NewBaseplateServer(
},
}).ToThriftLogger()
cfg.Addr = bp.GetConfig().Addr
cfg.ReportServerConnectionCount = bp.GetConfig().Metrics.ReportServerConnectionCount
cfg.Socket = nil
srv, err := NewServer(cfg)
if err != nil {
Expand Down

0 comments on commit ab63b93

Please sign in to comment.