메인 콘텐츠로 건너뛰기
Translation of pages other than English and Japanese versions is maintained by community contributions. The project does not guarantee the accuracy of the content and may not reflect the latest content.

메트릭

최종 업데이트

MagicOnion 서버는 System.Diagnostics.Metrics를 사용한 StreamingHub 관련 메트릭(Metrics)을 지원합니다.

Meter: MagicOnion.Server

MetricUnitTags
magiconion.server.streaminghub.connections{connection}rpc.system, rpc.service
magiconion.server.streaminghub.method_durationmsrpc.system, rpc.service, rpc.method
magiconion.server.streaminghub.method_completed{request}rpc.system, rpc.service, rpc.method, magiconion.streaminghub.is_error
magiconion.server.streaminghub.exceptions{exception}rpc.system, rpc.service, rpc.method, error.type

Tags

Tag nameValue
rpc.systemmagiconion
rpc.serviceStreamingHub 인터페이스 이름 (예: IGreeterService)
rpc.methodStreamingHub 메소드명 (예: HelloAsync)
magiconion.streaminghub.is_errorStreamingHub 메서드 호출이 실패했는지 여부 (예: true or false)
error.type발생한 예외의 타입 (예: System.InvalidOperationException)