문제

In Windows Server AppFabric IIS dashboard, I see call duration 0 for some of the WCF services, while it is clearly not 0 (IIS logs also prove that). This only happens to asynchronous services (task-based async). Is this expected? Is there a way to fix this?

도움이 되었습니까?

해결책

AppFabric WCF statistics share many things with WCF performance counters & WCF analytic tracing.

Unfortunately, when working with async operation call duration, call duration is simply not supported because of the worker/IO thread switch.

You can find here and here more informations

When used on an asynchronous WCF service the Call Duration counter will always return -1.

You can try to emit user-defined events to track operations duration, but this will be be visible in the dashboard.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top