网页特效代码大全,优搜云seo,公司做网站是管理费用,国内搜索引擎排名第一的是上篇说了System.Runtime#xff0c;它负责应用运行的环境资源的收集#xff0c;这篇要继续说AspNetCore的Hosting,Http.Connections和Server.Kestrel三个计数器。同时#xff0c;下面指标各项()里的项目是--counters 参数[]里的项#xff0c;用逗号分隔多项指标。Microsoft… 上篇说了System.Runtime它负责应用运行的环境资源的收集这篇要继续说AspNetCore的Hosting,Http.Connections和Server.Kestrel三个计数器。同时下面指标各项()里的项目是--counters 参数[]里的项用逗号分隔多项指标。Microsoft.AspNetCore.Hosting计数器本计数器是收集请求的数值.net core 3.1使用命令dotnet-counters monitor -n websample --refresh-interval 1 --counters Microsoft.AspNetCore.Hosting视图指标Current Requests (current-requests)当前正在请求的总数Failed Requests (failed-requests)失败请求总数Request Rate (requests-per-second)每秒请求数Total Requests (total-requests)请求总数Microsoft.AspNetCore.Http.Connections计数器websocket连接的指.net core 3.1使用命令dotnet-counters monitor -n BlazorAppDemo --refresh-interval 1 --counters Microsoft.AspNetCore.Http.Connections视图指标Average Connection Duration (connections-duration)连接的平均持续时间毫秒Current Connections (current-connections)当前活动连接数Total Connections Started (connections-started)已启动的连接总数Total Connections Stopped (connections-stopped)已停止的连接总数Total Connections Timed Out (connections-timed-out)已超时的连接总数Microsoft-AspNetCore-Server-Kestrel计数器对你没看错这里不是“.”了变成“-”了。本指标是关于Kestrel作为host时的收集指标.NET5使用。命令dotnet-counters monitor -n BlazorAppDemo --refresh-interval 1 --counters Microsoft-AspNetCore-Server-Kestrel视图指标Connection Queue Length (connection-queue-length)当前连接队列的长度Connection Rate (connections-per-second)每秒连接数Current Connections (current-connections)当前活动连接数Current TLS Handshakes (current-tls-handshakes)当前 TLS 握手数Current Upgraded Requests (WebSockets) (current-upgraded-requests)当前升级请求数 (WebSockets)Failed TLS Handshakes (failed-tls-handshakes)失败的 TLS 握手总数Request Queue Length (request-queue-length)当前请求队列的长度TLS Handshake Rate (tls-handshakes-per-second)每秒的 TLS 握手数Total Connections (total-connections)连接总数Total TLS Handshakes (total-tls-handshakes) TLS 握手总数