이 문서에서는 API를 사용하여 생성된 ASP.NET Core에 대한 기본 제공 메트릭을 System.Diagnostics.Metrics 설명합니다. For a listing of metrics based on the older EventCounters API, see Available counters.
ASP.NET Core 메트릭을 수집, 보고, 보강 및 테스트하는 방법에 대한 자세한 내용은 ASP.NET Core 메트릭을 참조하세요.
Microsoft.AspNetCore.Components
메트릭은 Microsoft.AspNetCore.Components
구성 요소 경로 변경 내용 및 브라우저 이벤트에 대한 Razor 정보를 보고합니다.
메트릭: aspnetcore.components.navigation
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.navigation |
Counter |
{route} |
앱의 총 경로 변경 횟수를 추적합니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.components.type |
string |
이동한 구성 요소입니다. |
TestComponent |
Always |
aspnetcore.components.route |
string |
구성 요소의 경로입니다. |
/test-route |
Always |
error.type |
string |
예외 유형의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
예외가 throw된 경우 |
사용 현황: 사용자가 방문한 페이지는 Blazor 몇 개입니까?
메트릭: aspnetcore.components.event_handler
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.event_handler |
Histogram |
s |
자식 구성 요소 이벤트 처리 기간을 제외하고 구성 요소의 비즈니스 논리를 포함하여 브라우저 이벤트를 처리하는 기간을 측정합니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.components.type |
string |
이벤트를 처리하는 구성 요소 유형입니다. |
TestComponent |
Always |
aspnetcore.components.method |
string |
이벤트를 처리하는 C# 메서드입니다. |
OnClick |
Always |
aspnetcore.components.attribute.name |
string |
이벤트를 처리하는 구성 요소 특성 이름입니다. |
onclick |
Always |
error.type |
string |
예외 유형의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
예외가 throw된 경우 |
Usage:
- 어떤 구성 요소의 클릭 이벤트 처리기가 느리나요?
- 자주 선택되는 단추는 무엇입니까?
Microsoft.AspNetCore.Components.Lifecycle
메트릭은 Microsoft.AspNetCore.Components.Lifecycle
구성 요소 수명 주기 이벤트에 대한 Razor 정보를 보고합니다.
메트릭: aspnetcore.components.update_parameters
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.update_parameters |
Histogram |
s |
비즈니스 논리를 포함하여 구성 요소 매개 변수 처리 기간을 측정합니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.components.type |
string |
이벤트를 처리하는 구성 요소 유형입니다. |
TestComponent |
Always |
error.type |
string |
예외 유형의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
예외가 throw된 경우 |
Usage:
- 업데이트 속도가 느린 구성 요소는 무엇인가요?
- 자주 업데이트되는 구성 요소는 무엇입니까?
메트릭: aspnetcore.components.render_diff
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.render_diff |
Histogram |
s |
일괄 처리 렌더링 기간을 추적합니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.components.diff.length |
int |
일괄 처리의 렌더링 차이/크기(버킷)의 길이입니다. |
50 |
Always |
error.type |
string |
예외 유형의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
예외가 throw된 경우 |
Usage:
- 서버 렌더링 속도가 느리나요?
- 너무 큰 차이는 렌더링합니까? (네트워크 대역폭, DOM 업데이트)
Microsoft.AspNetCore.Components.Server.Circuits
메트릭은 Microsoft.AspNetCore.Components.Server.Circuits
서버 쪽 Blazor 회로의 정보를 보고합니다Blazor Server.Blazor Web App
메트릭: aspnetcore.components.circuit.active
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.circuit.active |
UpDownCounter |
{circuit} |
현재 메모리에 있는 활성 회로 수를 표시합니다. |
사용량: 세션 상태는 얼마나 많은 메모리를 보유하나요?
메트릭: aspnetcore.components.circuit.connected
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.circuit.connected |
UpDownCounter |
{circuit} |
클라이언트에 연결된 회로 수를 추적합니다. |
사용 현황: SignalR 열려 있는 연결 수
메트릭: aspnetcore.components.circuit.duration
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.components.circuit.duration |
Histogram |
s |
회로 수명 기간을 측정하고 총 회로 수를 제공합니다. |
Usage:
- 처리된 세션은 몇 개입니까?
- 사용자가 세션/탭을 얼마나 열어 두나요?
Microsoft.AspNetCore.Hosting
메트릭은 Microsoft.AspNetCore.Hosting
ASP.NET Core에서 수신한 HTTP 요청에 대한 개략적인 정보를 보고합니다.
메트릭: http.server.request.duration
Attribute |
Type |
Description |
Examples |
Presence |
http.route |
string |
일치하는 경로입니다. |
{controller}/{action}/
{id?} |
사용 가능한 경우. |
error.type |
string |
작업이 종료된 오류 클래스를 설명합니다. |
timeout ; name_resolution_error ; 500 |
요청이 오류로 종료된 경우 |
http.request.method |
string |
HTTP 요청 메서드입니다. |
GET ; POST ; HEAD |
Always |
http.response.status_code |
int |
HTTP 응답 상태 코드. |
200 |
전송된 경우 |
network.protocol.version |
string |
에 지정된 프로토콜의 버전입니다 network.protocol.name . |
3.1.1 |
Always |
url.scheme |
string |
The URI scheme component identifying the used protocol. |
http : https |
Always |
aspnetcore.request.is_unhandled |
Boolean |
애플리케이션 파이프라인에서 요청을 처리하지 않은 경우 True입니다. |
true |
요청이 처리되지 않은 경우 |
ASP.NET Core의 호스팅 계층에서 측정된 인바운드 HTTP 요청을 처리하는 데 사용되는 시간입니다. 기본 웹 호스트에 다음이 있으면 시간 측정이 시작됩니다.
- 인바운드 네트워크 스트림에서 HTTP 요청 헤더를 충분히 구문 분석하여 새 요청을 식별했습니다.
- 와 같은 컨텍스트 데이터 구조를 초기화했습니다 HttpContext.
시간은 다음과 같은 경우에 종료됩니다.
- ASP.NET Core 처리기 파이프라인 실행이 완료되었습니다.
- 모든 응답 데이터가 전송되었습니다.
- 요청에 대한 컨텍스트 데이터 구조가 삭제되고 있습니다.
OpenTelemetry를 사용하는 경우 이 메트릭의 기본 버킷은 [ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10]으로 설정됩니다.
메트릭: http.server.active_requests
Attribute |
Type |
Description |
Examples |
Presence |
http.request.method |
string |
HTTP 요청 메서드입니다. [1] |
GET ; POST ; HEAD |
Always |
url.scheme |
string |
The URI scheme component identifying the used protocol. |
http : https |
Always |
Microsoft.AspNetCore.Routing
메트릭은 Microsoft.AspNetCore.Routing
ASP.NET Core 엔드포인트로 HTTP 요청을 라우팅하는 방법에 대한 정보를 보고합니다.
메트릭: aspnetcore.routing.match_attempts
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.routing.match_status |
string |
Match result |
success : failure |
Always |
aspnetcore.routing.is_fallback_route |
boolean |
일치하는 경로가 대체 경로인지 여부를 나타내는 값입니다. |
True |
경로가 성공적으로 일치하는 경우 |
http.route |
string |
일치하는 경로 |
{controller}/{action}/
{id?} |
경로가 성공적으로 일치하는 경우 |
Microsoft.AspNetCore.Diagnostics
메트릭은 Microsoft.AspNetCore.Diagnostics
ASP.NET Core 오류 처리 미들웨어의 진단 정보를 보고합니다.
메트릭: aspnetcore.diagnostics.exceptions
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.diagnostics.exception.result |
string |
ASP.NET 핵심 예외 미들웨어 처리 결과 |
handled : unhandled |
Always |
aspnetcore.diagnostics.handler.type |
string |
예외를 처리한 구현의 IExceptionHandler 전체 형식 이름입니다. |
Contoso.MyHandler |
예외가 이 처리기에서 처리된 경우입니다. |
exception.type |
string |
예외 유형의 전체 이름입니다. |
System.OperationCanceledException : Contoso.MyException |
Always |
Microsoft.AspNetCore.RateLimiting
메트릭은 Microsoft.AspNetCore.RateLimiting
ASP.NET Core 속도 제한 미들웨어의 속도 제한 정보를 보고합니다.
메트릭: aspnetcore.rate_limiting.active_request_leases
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.rate_limiting.policy |
string |
속도 제한 정책 이름입니다. |
fixed ; sliding ; token |
요청에 대해 일치하는 엔드포인트에 속도 제한 정책이 있는 경우 |
메트릭: aspnetcore.rate_limiting.request_lease.duration
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.rate_limiting.policy |
string |
속도 제한 정책 이름입니다. |
fixed ; sliding ; token |
요청에 대해 일치하는 엔드포인트에 속도 제한 정책이 있는 경우 |
메트릭: aspnetcore.rate_limiting.queued_requests
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.rate_limiting.policy |
string |
속도 제한 정책 이름입니다. |
fixed ; sliding ; token |
요청에 대해 일치하는 엔드포인트에 속도 제한 정책이 있는 경우 |
메트릭: aspnetcore.rate_limiting.request.time_in_queue
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.rate_limiting.policy |
string |
속도 제한 정책 이름입니다. |
fixed ; sliding ; token |
요청에 대해 일치하는 엔드포인트에 속도 제한 정책이 있는 경우 |
aspnetcore.rate_limiting.result |
string |
속도 제한 결과는 임대를 획득했는지 또는 거부 이유가 포함되어 있는지를 보여 줍니다. |
acquired : request_canceled |
Always |
메트릭: aspnetcore.rate_limiting.requests
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.rate_limiting.policy |
string |
속도 제한 정책 이름입니다. |
fixed ; sliding ; token |
요청에 대해 일치하는 엔드포인트에 속도 제한 정책이 있는 경우 |
aspnetcore.rate_limiting.result |
string |
속도 제한 결과는 임대를 획득했는지 또는 거부 이유가 포함되어 있는지를 보여 줍니다. |
acquired : request_canceled |
Always |
메트릭은 Microsoft.AspNetCore.HeaderParsing
ASP.NET Core 헤더 구문 분석 관련 정보를 보고합니다.
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.header_parsing.parse_errors |
Counter |
{parse_error} |
HTTP 요청 헤더를 구문 분석할 때 발생한 오류 수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.header_parsing.header.name |
string |
헤더 이름입니다. |
Content-Type |
Always |
error.type |
string |
오류 메시지입니다. |
Unable to parse media type value. |
Always |
메트릭은 캐싱을 지원하는 HTTP 요청 헤더 파서에 대해서만 내보내집니다.
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.header_parsing.cache_accesses |
Counter |
{cache_access} |
구문 분석된 헤더 값을 저장하는 캐시에 액세스한 횟수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.header_parsing.header.name |
string |
헤더 이름입니다. |
Content-Type |
Always |
aspnetcore.header_parsing.cache_access.type |
string |
헤더의 값이 캐시에 있는지 여부를 나타내는 값입니다. |
Hit : Miss |
Always |
Microsoft.AspNetCore.Server.Kestrel
메트릭은 Microsoft.AspNetCore.Server.Kestrel
ASP.NET Core Kestrel 웹 서버의 HTTP 연결 정보를 보고합니다.
메트릭: kestrel.active_connections
Attribute |
Type |
Description |
Examples |
Presence |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
메트릭: kestrel.connection.duration
Attribute |
Type |
Description |
Examples |
Presence |
error.type |
string |
연결이 종료된 오류 유형 또는 연결 파이프라인 중에 throw된 처리되지 않은 예외 형식에 대해 설명합니다. 알려진 연결 오류는 웹 서버 메트릭에 대한 Kestrel 의미 체계 규칙에서 찾을 수 있습니다. |
connection_reset ; invalid_request_headers ; System.OperationCanceledException |
알려진 오류로 연결이 종료되었거나 예외가 throw된 경우 |
network.protocol.name |
string |
OSI 애플리케이션 계층 또는 비 OSI에 해당합니다. |
http : web_sockets |
Always |
network.protocol.version |
string |
에 지정된 프로토콜의 버전입니다 network.protocol.name . |
1.1 : 2 |
Always |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
tls.protocol.version |
string |
TLS 프로토콜 버전입니다. |
1.2 : 1.3 |
연결이 TLS로 보호되는 경우 |
이 메트릭은 연결 기간을 추적하고, 여러 요청에 대해 http 연결이 사용되는 것이 이상적이므로 버킷은 요청 기간에 사용되는 것보다 길어야 합니다. 예를 들어 [ 0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 30, 60, 120, 300]을 사용하면 5분의 상위 버킷이 제공됩니다.
메트릭: kestrel.rejected_connections
Attribute |
Type |
Description |
Examples |
Presence |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
현재 활성 개수가 구성된 값을 MaxConcurrentConnections
초과하면 연결이 거부됩니다.
메트릭: kestrel.queued_connections
Name |
Instrument Type |
Unit (UCUM) |
Description |
kestrel.queued_connections |
UpDownCounter |
{connection} |
현재 큐에 대기 중이며 시작을 대기 중인 연결 수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
메트릭: kestrel.queued_requests
Name |
Instrument Type |
Unit (UCUM) |
Description |
kestrel.queued_requests |
UpDownCounter |
{request} |
현재 큐에 대기 중이며 시작을 기다리고 있는 멀티플렉싱 연결(HTTP/2 및 HTTP/3)의 HTTP 요청 수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
network.protocol.name |
string |
OSI 애플리케이션 계층 또는 비 OSI에 해당합니다. |
http : web_sockets |
Always |
network.protocol.version |
string |
에 지정된 프로토콜의 버전입니다 network.protocol.name . |
1.1 : 2 |
Always |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
메트릭: kestrel.upgraded_connections
Attribute |
Type |
Description |
Examples |
Presence |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
카운터는 HTTP/1.1 연결만 추적합니다.
메트릭: kestrel.tls_handshake.duration
Attribute |
Type |
Description |
Examples |
Presence |
error.type |
string |
예외 유형의 전체 이름입니다. |
System.OperationCanceledException : Contoso.MyException |
예외가 throw된 경우 |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
tls.protocol.version |
string |
TLS 프로토콜 버전입니다. |
1.2 : 1.3 |
연결이 TLS로 보호되는 경우 |
OpenTelemetry를 사용하는 경우 이 metic의 기본 버킷은 [0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10]으로 설정됩니다.
메트릭: kestrel.active_tls_handshakes
Attribute |
Type |
Description |
Examples |
Presence |
network.transport |
string |
OSI 전송 계층 또는 프로세스 간 통신 방법. |
tcp : unix |
Always |
network.type |
string |
OSI 네트워크 계층 또는 비 OSI에 해당하는 . |
ipv4 : ipv6 |
전송이 tcp 있는 경우 또는 udp . |
server.address |
string |
역방향 DNS 조회 없이 사용할 수 있는 경우 서버 주소 도메인 이름; 그렇지 않으면 IP 주소 또는 Unix 도메인 소켓 이름입니다. |
example.com |
Always |
server.port |
int |
서버 포트 번호 |
80 ; 8080 ; 443 |
전송이 tcp 있는 경우 또는 udp . |
Microsoft.AspNetCore.Http.Connections
메트릭은 Microsoft.AspNetCore.Http.Connections
ASP.NET Core SignalR의 연결 정보를 보고합니다.
메트릭: signalr.server.connection.duration
Attribute |
Type |
Description |
Examples |
Presence |
signalr.connection.status |
string |
SignalR HTTP 연결 닫기 상태입니다. |
app_shutdown : timeout |
Always |
signalr.transport |
string |
SignalR 전송 유형 |
web_sockets : long_polling |
Always |
Value |
Description |
normal_closure |
연결이 정상적으로 닫혔습니다. |
timeout |
시간 제한으로 인해 연결이 닫혔습니다. |
app_shutdown |
앱이 종료되어 연결이 닫혔습니다. |
signalr.transport
는 다음 중 하나입니다.
이 메트릭은 연결 기간을 추적하고, 이상적으로 SignalR 는 연결이 지속성이므로 버킷은 요청 기간에 사용되는 것보다 길어야 합니다. 예를 들어 [0, 0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 30, 60, 120, 300]을 사용하면 상위 버킷이 5분입니다.
메트릭: signalr.server.active_connections
Attribute |
Type |
Description |
Examples |
Presence |
signalr.connection.status |
string |
SignalR HTTP 연결 닫기 상태입니다. |
app_shutdown : timeout |
Always |
signalr.transport |
string |
SignalR 전송 유형 |
web_sockets : long_polling |
Always |
Microsoft.AspNetCore.Authorization
The Microsoft.AspNetCore.Authorization
metrics report information about Authorization attempts in ASP.NET Core apps:
메트릭: aspnetcore.authorization.attempts
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.authorization.attempts |
Counter |
{request} |
권한 부여를 시도한 총 요청 수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
user.is_authenticated |
boolean |
인증된 사용자로부터 요청이 제공되었는지 여부 |
true |
Required |
aspnetcore.authorization.policy |
string |
권한 부여 정책의 이름입니다. |
AtLeast21 : EmployeeOnly |
Conditionally required 권한 부여 정책이 사용되면 입니다. |
aspnetcore.authorization.result |
string |
권한 부여가 성공했는지 또는 실패했는지 여부입니다. |
success : failure |
Conditionally Required 권한 부여 중에 예외가 throw되지 않으면 입니다. |
error.type |
string |
예외 형식의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
Conditionally Required 요청이 오류로 종료된 경우 |
Microsoft.AspNetCore.Authentication
The Microsoft.AspNetCore.Authentication
metrics report information about Authentication in ASP.NET Core apps:
메트릭: aspnetcore.authentication.authenticate.duration
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.authentication.authenticate.duration |
Histogram |
s |
요청에 대한 인증 기간입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.authentication.result |
string |
인증 결과입니다. |
success ; failure ; ; none _OTHER |
Conditionally Required 요청이 오류로 끝나지 않은 경우 |
aspnetcore.authentication.scheme |
string |
인증 체계의 이름입니다. |
Bearer : Cookies |
Conditionally Required 요청이 오류로 끝나지 않은 경우 |
error.type |
string |
예외 형식의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
인증이 실패했거나 요청이 있으면 입니다. 가 오류로 끝났습니다. |
메트릭: aspnetcore.authentication.challenges
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.authentication.challenges |
Counter |
{request} |
스키마에 문제가 있는 총 횟수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.authentication.scheme |
string |
인증 체계의 이름입니다. |
Bearer : Cookies |
Conditionally Required 요청이 오류로 끝나지 않은 경우 |
error.type |
string |
예외 형식의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
Conditionally Required 요청이 오류로 종료된 경우 |
메트릭: aspnetcore.authentication.forbids
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.authentication.forbids |
Counter |
{request} |
인증된 사용자가 액세스할 수 없는 리소스에 액세스하려고 시도하는 총 횟수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.authentication.scheme |
string |
인증 체계의 이름입니다. |
Bearer : Cookies |
Conditionally Required 요청이 오류로 끝나지 않은 경우 |
error.type |
string |
예외 형식의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
Conditionally Required 요청이 오류로 종료된 경우 |
메트릭: aspnetcore.authentication.sign_ins
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.authentication.sign_ins |
Counter |
{request} |
보안 주체가 스키마로 로그인된 총 횟수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.authentication.scheme |
string |
인증 체계의 이름입니다. |
Bearer : Cookies |
Conditionally Required 요청이 오류로 끝나지 않은 경우 |
error.type |
string |
예외 형식의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
Conditionally Required 요청이 오류로 종료된 경우 |
메트릭: aspnetcore.authentication.sign_outs
Name |
Instrument Type |
Unit (UCUM) |
Description |
aspnetcore.authentication.sign_outs |
Counter |
{request} |
보안 주체가 스키마로 로그아웃된 총 횟수입니다. |
Attribute |
Type |
Description |
Examples |
Presence |
aspnetcore.authentication.scheme |
string |
인증 체계의 이름입니다. |
Bearer : Cookies |
Conditionally Required 요청이 오류로 끝나지 않은 경우 |
error.type |
string |
예외 형식의 전체 이름입니다. |
System.InvalidOperationException : Contoso.MyException |
Conditionally Required 요청이 오류로 종료된 경우 |