diff options
author | Scott Blomquist <sblom@microsoft.com> | 2012-11-21 00:27:22 +0100 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-11-21 01:21:53 +0100 |
commit | f657ce685dddc1bf2d5b42f56d728df9176cceb9 (patch) | |
tree | ff03ca0dcd8c3260257c9b8c9e842829e7372db8 /src/res | |
parent | bc9388342f59ed5c69d69c7095e5a17fcbd80ba8 (diff) | |
download | node-new-f657ce685dddc1bf2d5b42f56d728df9176cceb9.tar.gz |
windows: add tracing with performance counters
Patch by Henry Rawas and Scott Blomquist.
Diffstat (limited to 'src/res')
-rw-r--r-- | src/res/node_perfctr_provider.man | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/src/res/node_perfctr_provider.man b/src/res/node_perfctr_provider.man new file mode 100644 index 0000000000..cd945ee5fb --- /dev/null +++ b/src/res/node_perfctr_provider.man @@ -0,0 +1,97 @@ +<instrumentationManifest + xmlns="http://schemas.microsoft.com/win/2004/08/events" + xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <instrumentation> + <counters xmlns="http://schemas.microsoft.com/win/2005/12/counters" + schemaVersion="1.1"> + <provider symbol="NodeCounterProvider" + applicationIdentity="node.exe" + providerType="userMode" + providerGuid="{1E2E15D7-3760-470E-8699-B9DB5248EDD5}"> + <counterSet symbol="NodeCounterSet" + guid="{3A22A8EC-297C-48AC-AB15-33EC93033FD8}" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet" + name="Node.js" + description="Node.js performance counters" + instances="multiple"> + + <counter id="1" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpsrvreq" + name="HTTP server requests" + description="Number of HTTP server requests" + type="perf_counter_counter" + detailLevel="standard" /> + + <counter id="2" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpsrvrsp" + name="HTTP server responses" + description="Number of HTTP server responses" + type="perf_counter_counter" + detailLevel="standard" /> + + <counter id="3" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpclireq" + name="HTTP client requests" + description="Number of HTTP client requests" + type="perf_counter_counter" + detailLevel="standard" /> + + <counter id="4" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpclirsp" + name="HTTP client responses" + description="Number of HTTP client responses" + type="perf_counter_counter" + detailLevel="standard" /> + + <counter id="5" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.netsrvconn" + name="Active server connections" + description="Number of server connections" + type="perf_counter_rawcount" + detailLevel="standard" /> + + <counter id="6" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.netbytesent" + name="Network bytes sent" + description="Number of bytes sent using TCP" + type="perf_counter_bulk_count" + detailLevel="standard" + defaultScale="-3" /> + + <counter id="7" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.netbyterecv" + name="Network bytes received" + description="Number of bytes received using TCP" + type="perf_counter_bulk_count" + detailLevel="standard" + defaultScale="-3" /> + + <counter id="8" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.gctime" + name="%Time in GC" + description="Percent of time for last GC" + type="perf_counter_rawcount" + detailLevel="standard" /> + + <counter id="9" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.pipebytesent" + name="Pipe bytes sent" + description="Number of bytes sent using pipe" + type="perf_counter_bulk_count" + detailLevel="standard" + defaultScale="-3" /> + + <counter id="10" + uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.pipebyterecv" + name="Pipe bytes received" + description="Number of bytes received using pipe" + type="perf_counter_bulk_count" + detailLevel="standard" + defaultScale="-3" /> + + </counterSet> + </provider> + </counters> + </instrumentation> +</instrumentationManifest> |