Skip to content

Commit

Permalink
cmd/derper: export TLS vars with derper_ prefix, not stun_
Browse files Browse the repository at this point in the history
Updates tailscale/corp#3568

Signed-off-by: David Anderson <danderson@tailscale.com>
  • Loading branch information
danderson committed Jan 25, 2022
1 parent f315468 commit 508f332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/derper/derper.go
Expand Up @@ -69,9 +69,9 @@ var (
func init() {
stats.Set("counter_requests", stunDisposition)
stats.Set("counter_addrfamily", stunAddrFamily)
stats.Set("tls_request_version", tlsRequestVersion)
stats.Set("gauge_tls_active_version", tlsActiveVersion)
expvar.Publish("stun", stats)
expvar.Publish("derper_tls_request_version", tlsRequestVersion)
expvar.Publish("gauge_derper_tls_active_version", tlsActiveVersion)
}

type config struct {
Expand Down

0 comments on commit 508f332

Please sign in to comment.