Skip to content

Commit

Permalink
Expose RegisterInstrumentation setting
Browse files Browse the repository at this point in the history
Fix #156

Signed-off-by: Xiang Dai <764524258@qq.com>
  • Loading branch information
daixiang0 committed May 16, 2019
1 parent 283749c commit b8724ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Config struct {
HTTPListenPort int `yaml:"http_listen_port"`
GRPCListenPort int `yaml:"grpc_listen_port"`

RegisterInstrumentation bool `yaml:"-"`
RegisterInstrumentation bool `yaml:"register_instrumentation"`
ExcludeRequestInLog bool `yaml:"-"`

ServerGracefulShutdownTimeout time.Duration `yaml:"graceful_shutdown_timeout"`
Expand Down

0 comments on commit b8724ad

Please # to comment.