dotnet中的counters说明(三)
本篇分別說明一下System.Net下的Http計數(shù)器,NameResolution計數(shù)器,Security計數(shù)器和Sockets計數(shù)器。
同時,下面指標(biāo)各項()里的項目是--counters 參數(shù)[]里的項,用逗號分隔多項指標(biāo)。
System.Net.Http計數(shù)器
以下計數(shù)器由 HTTP 堆棧發(fā)布。?(>=.NET5)
命令:
dotnet-counters?monitor?-n?websample?--counters?System.Net.Http
視圖:
指標(biāo):
Requests Started (requests-started)
總請求數(shù)
Requests Started Rate (requests-started-rate)
每秒請求數(shù),請求率
Requests Failed (requests-failed)
請求失敗數(shù)
Requests Failed Rate (requests-failed-rate)
每秒請求失敗數(shù)
Current Requests (current-requests)
當(dāng)前請求數(shù)
Current HTTP 1.1 Connections (http11-connections-current-total)
當(dāng)HTTP 1.1 連接數(shù)
Current HTTP 2.0 Connections (http20-connections-current-total)
當(dāng)HTTP 2.0 連接數(shù)
HTTP 1.1 Requests Queue Duration (http11-requests-queue-duration)
HTTP 1.1 請求在隊列中停留時間(ms)
HTTP 2.0 Requests Queue Duration (http20-requests-queue-duration)
HTTP 2.0 請求在隊列中停留時間(ms)
System.Net.NameResolution計數(shù)器
以下計數(shù)器跟蹤與 DNS 查找相關(guān)的指標(biāo)。?(>.NET5)
命令:
dotnet-counters?monitor?-n?websample?--refresh-interval?1?--counters?System.Net.NameResolution
視圖:
指標(biāo):
DNS Lookups Requested (dns-lookups-requested)
請求的 DNS 總查找數(shù)
Current DNS?Lookups(current-dns-lookups)
當(dāng)前的DNS查找數(shù)
Average DNS Lookup Duration (dns-lookups-duration)
DNS 查找所用的平均時間
System.Net.Security計數(shù)器
以下計數(shù)器跟蹤與傳輸層安全協(xié)議相關(guān)的指標(biāo)。(>.NET5)
命令:
dotnet-counters?monitor?-n?websample?--refresh-interval?1?--counters?System.Net.Security
視圖:
指標(biāo):
TLS handshakes completed (tls-handshake-rate)
每秒完成的 TLS 握手?jǐn)?shù)
Total TLS handshakes completed (total-tls-handshakes)
TLS 握手總數(shù)
Current TLS handshakes (current-tls-handshakes)
當(dāng)前?TLS 握手?jǐn)?shù)
Total TLS handshakes failed (failed-tls-handshakes)
失敗的 TLS 握手總數(shù)
All TLS Sessions Active (all-tls-sessions-open)
所有 TLS 會話數(shù)
TLS 1.0 Sessions Active (tls10-sessions-open)
?TLS 1.0 會話數(shù)
TLS 1.1 Sessions Active (tls11-sessions-open)
TLS 1.1 會話數(shù)
TLS 1.2 Sessions Active (tls12-sessions-open)
TLS 1.2 會話數(shù)
TLS 1.3 Sessions Active (tls13-sessions-open)
TLS 1.3 會話數(shù)
TLS Handshake Duration (all-tls-handshake-duration)
所有 TLS 握手的平均持續(xù)時間
TLS 1.0 Handshake Duration (tls10-handshake-duration)
TLS 1.0 握手的平均持續(xù)時間
TLS 1.1 Handshake Duration (tls11-handshake-duration)
TLS 1.1 握手的平均持續(xù)時間
TLS 1.2 Handshake Duration (tls12-handshake-duration)
TLS 1.2 握手的平均持續(xù)時間
TLS 1.3 Handshake Duration (tls13-handshake-duration)
TLS 1.3 握手的平均持續(xù)時間
System.Net.Sockets計數(shù)器
以下計數(shù)器跟蹤與 Socket 相關(guān)的指標(biāo)(>.NET5)
命令:
dotnet-counters?monitor?-n?websample?--refresh-interval?1?--counters?System.Net.Sockets
視圖:
指標(biāo):
Outgoing Connections Established (outgoing-connections-established)
傳出連接總數(shù)
Incoming Connections Established (incoming-connections-established)
傳入連接總數(shù)
Bytes Received (bytes-received)
收到的字節(jié)總數(shù)
Bytes Sent (bytes-sent)
發(fā)送的字節(jié)總數(shù)
Datagrams Received (datagrams-received)
收到的數(shù)據(jù)報總數(shù)
Datagrams Sent (datagrams-sent)
發(fā)送的數(shù)據(jù)報總數(shù)
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的dotnet中的counters说明(三)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 比较两个字符串的相似度算法
- 下一篇: 天呐!你知道MSBuild都干了些什么