Count TLS/non-TLS connections separately, by TLS version#4341
Count TLS/non-TLS connections separately, by TLS version#4341sougou merged 6 commits intovitessio:masterfrom
Conversation
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
|
Please also count TLSv1.3 connections. I don't think I have ever seen a MySQL client that supported SSLv3 (Initially MySQL only supported TLSv1.0). And vtgate should never allow SSLv3, but I'm not sure if that's currently the case. So counts for SSLv3 are pretty much useless. |
Signed-off-by: deepthi <deepthi@planetscale.com>
|
TLS1.3 in go is still WIP. I'll add a comment to the code to say that we should update our handling when we move to a newer version of go. |
Signed-off-by: deepthi <deepthi@planetscale.com>
go/mysql/server.go
Outdated
| queryTimingKey = "Query" | ||
| connectTimingKey = "Connect" | ||
| queryTimingKey = "Query" | ||
| versionSSL30 = "SSL 3.0" |
There was a problem hiding this comment.
Since these are tags, it's risky to use spaces (or dots). Some value parsers may treat them as separators. Underscores are safe. Even - could cause trouble. Personally, I'd just go with SSL30, TLS10, etc.
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi deepthi@planetscale.com