Skip to content

Commit 6608d6b

Browse files
committed
update extended SSL stats
1 parent 58241ab commit 6608d6b

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

client/nginx.go

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,21 @@ type HTTPRequests struct {
224224
// SSL represents SSL related stats.
225225
type SSL struct {
226226
Handshakes uint64
227-
HandshakesFailed uint64 `json:"handshakes_failed"`
228-
SessionReuses uint64 `json:"session_reuses"`
227+
HandshakesFailed uint64 `json:"handshakes_failed"`
228+
SessionReuses uint64 `json:"session_reuses"`
229+
NoCommonProtocol uint64 `json:"no_common_protocol"`
230+
NoCommonCipher uint64 `json:"no_common_cipher"`
231+
HandshakeTimeout uint64 `json:"handshake_timeout"`
232+
PeerRejectedCert uint64 `json:"peer_rejected_cert"`
233+
VerifyFailures VerifyFailures `json:"verify_failures"`
234+
}
235+
236+
type VerifyFailures struct {
237+
NoCert uint64 `json:"no_cert"`
238+
ExpiredCert uint64 `json:"expired_cert"`
239+
RevokedCert uint64 `json:"revoked_cert"`
240+
HostnameMismatch uint64 `json:"hostname_mismatch"`
241+
Other uint64 `json:"other"`
229242
}
230243

231244
// ServerZones is map of server zone stats by zone name

0 commit comments

Comments
 (0)