Skip to content

Commit

Permalink
Deprecate tchannel parameters (#1978)
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Brown <gary@brownuk.com>
  • Loading branch information
objectiser authored and pavolloffay committed Dec 16, 2019
1 parent 1afa212 commit ae0b54b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/agent/app/reporter/tchannel/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ func AddFlags(flags *flag.FlagSet) {
flags.String(
tchannelPrefix+hostPort,
"",
"comma-separated string representing host:ports of a static list of collectors to connect to directly (e.g. when not using service discovery)")
"(deprecated) comma-separated string representing host:ports of a static list of collectors to connect to directly (e.g. when not using service discovery)")
flags.Int(
tchannelPrefix+discoveryMinPeers,
defaultMinPeers,
"if using service discovery, the min number of connections to maintain to the backend")
"(deprecated) if using service discovery, the min number of connections to maintain to the backend")
flags.Duration(
tchannelPrefix+discoveryConnCheckTimeout,
defaultConnCheckTimeout,
"sets the timeout used when establishing new connections")
"(deprecated) sets the timeout used when establishing new connections")
flags.Duration(
tchannelPrefix+reportTimeout,
time.Second,
"sets the timeout used when reporting spans")
"(deprecated) sets the timeout used when reporting spans")
// TODO remove deprecated in 2.0
flags.String(
collectorHostPort,
Expand Down

0 comments on commit ae0b54b

Please sign in to comment.