配置性能计数器使用不同的端口?端口、计数器、性能、不同

2023-09-04 04:24:51 作者:心痛是爱你的代价

我们有一个分布式的测试环境,并有一定的防火墙challanges,所以我们不能用通常的端口来获得性能计数器度量。任何人都知道,如果有可能重新配置的端口性能计数器可以读取。例如。它们配置为使用端口8080或类似的,而不是139/445?

We have a distributed test environment and have some firewall challanges, so we cannot use the usual ports to acquire performance counter metrics. Anyone know if it is possible to reconfigure which ports the performance counters can be read from. E.g. configure them to use port 8080 or similar instead of 139/445?

我们有哪些需要读取度量一个Visual Studio负载测试。

We have a Visual Studio Load Test which needs to read the metrics.

推荐答案

根据 Microsoft知识库文章832017 监控性能计数器远程使用端口139的NetBIOS会话服务协议,我怀疑,你将能够映射该协议到另一个端口,因为它是被多个Windows组件。

According to Microsoft KB article 832017 monitoring performance counters remotely uses the NetBIOS Session Service protocol on port 139. I doubt that you will be able to map this protocol to another port as it is used by several Windows components.

您可以编写自己的周围,使用的端口和协议提供给您,但比起发射了性能监视器,并连接到远程系统性能监控工具它需要更多的努力。

You could write your own tooling around performance monitoring that uses ports and protocols available to you, but compared to firing up performance monitor and connecting to a remote system it requires much more effort.