src/hotspot/share/jfr/metadata/metadata.xml
changeset 50879 d90c3cbf13df
parent 50525 767cdb97f103
child 50880 e1117321adaf
--- a/src/hotspot/share/jfr/metadata/metadata.xml	Thu Jun 28 18:04:19 2018 +0530
+++ b/src/hotspot/share/jfr/metadata/metadata.xml	Thu Jun 28 15:06:55 2018 +0200
@@ -656,6 +656,12 @@
     <Field type="float" name="switchRate" label="Switch Rate" description="Number of context switches per second" />
   </Event>
 
+  <Event name="NetworkUtilization" category="Operating System, Network" label="Network Utilization" period="everyChunk">
+    <Field type="NetworkInterfaceName" name="networkInterface" label="Network Interface" description="Network Interface Name"/>
+    <Field type="long" contentType="bytes" name="readRate" label="Read Rate" description="Number of incoming bytes per second"/>
+    <Field type="long" contentType="bytes" name="writeRate" label="Write Rate" description="Number of outgoing bytes per second"/>
+  </Event>
+
   <Event name="JavaThreadStatistics" category="Java Application, Statistics" label="Java Thread Statistics" period="everyChunk">
     <Field type="long" name="activeCount" label="Active Threads" description="Number of live active threads including both daemon and non-daemon threads" />
     <Field type="long" name="daemonCount" label="Daemon Threads" description="Number of live daemon threads" />
@@ -918,6 +924,10 @@
     <Field type="string" name="sampler" label="Sampler" />
   </Type>
 
+  <Type name="NetworkInterfaceName" label="Network Interface">
+    <Field type="string" name="networkInterface" label="Network Interface" description="Network Interface Name" />
+  </Type>
+
   <Type name="Thread" label="Thread">
     <Field type="string" name="osName" label="OS Thread Name" />
     <Field type="long" name="osThreadId" label="OS Thread Id" />