简体   繁体   English

看不到工作流基础性能计数器

[英]Can't see workflow foundation performance counters

im trying to use performance counters for workflows. 我试图在工作流程中使用性能计数器。 In Performance Monitor there are two categories: WF (System.Workflow) 4.0.0.0 and Windows Workflow Foundation. 在性能监视器中,有两个类别:WF(System.Workflow)4.0.0.0和Windows Workflow Foundation。

But neither category offers any instance to watch. 但是,这两个类别都没有提供要监视的实例。 MSDN tells me that performance counters are enabled by default and there should be global instance available. MSDN告诉我,性能计数器默认情况下处于启用状态,并且应该有可用的全局实例。

I tried it on Windows XP and Windows Server 2008. I also tried it with workflow service (xamlx) and workflow ran by WorkflowApplication. 我在Windows XP和Windows Server 2008上进行了尝试。我还通过工作流服务(xamlx)进行了尝试,并且工作流由WorkflowApplication运行。

In workflow service scenario i added workflowruntime behavior with enablePerformanceCounters flag set to true. 在工作流服务场景中,我添加了具有enablePerformanceCounters标志设置为true的工作流运行时行为。 I can see WCF performance counters but not WF counters. 我可以看到WCF性能计数器,但看不到WF计数器。

Nothing works. 没用。

The WF (System.Workflow) counters are for WF3 not WF4. WF(System.Workflow)计数器适用于WF3,而不适用于WF4。 There is another set for Windows Workflow Foundation that should work with WF4. Windows Workflow Foundation还有另一套应与WF4一起使用的工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM