TUN-1732: cloudflared metrics should track userHostnames

This commit is contained in:
Adam Chalmers
2019-04-16 15:26:31 -05:00
parent 2bef5dbe72
commit 2e2fa29637
2 changed files with 15 additions and 2 deletions

View File

@@ -396,6 +396,8 @@ func RegisterTunnel(
}
}
config.Metrics.userHostnamesCounts.WithLabelValues(registration.Url).Inc()
config.Logger.Infof("Route propagating, it may take up to 1 minute for your new route to become functional")
return nil
}