@@ -9,10 +9,6 @@ use crate::plot::*;
99pub fn generate ( data : & Tsdb , sections : Vec < Section > ) -> View {
1010 let mut view = View :: new ( data, sections) ;
1111
12- /*
13- * Network
14- */
15-
1612 let mut network = Group :: new ( "Network" , "network" ) ;
1713
1814 let drops = network. subgroup ( "Packet Drops & Transmit Errors" ) ;
@@ -31,10 +27,6 @@ pub fn generate(data: &Tsdb, sections: Vec<Section>) -> View {
3127
3228 view. group ( network) ;
3329
34- /*
35- * TCP
36- */
37-
3830 let mut tcp = Group :: new ( "TCP" , "tcp" ) ;
3931
4032 let retransmits = tcp. subgroup ( "Retransmits" ) ;
@@ -49,15 +41,10 @@ pub fn generate(data: &Tsdb, sections: Vec<Section>) -> View {
4941
5042 view. group ( tcp) ;
5143
52- /*
53- * Cloud (ENA) allowance limits
54- *
55- * AWS surfaces these counters when an instance hits a hardware-enforced
56- * rate limit. The metrics only appear on ENA-equipped hosts — on
57- * everything else the queries resolve to empty series and the panels
58- * stay blank, which is the right behavior.
59- */
60-
44+ // AWS surfaces these counters when an instance hits a hardware-enforced
45+ // rate limit. The metrics only appear on ENA-equipped hosts — on
46+ // everything else the queries resolve to empty series and the panels
47+ // stay blank, which is the right behavior.
6148 let mut ena = Group :: new ( "AWS ENA Allowance Exceeded" , "ena" ) ;
6249
6350 let bw = ena. subgroup ( "Bandwidth" ) ;
@@ -93,10 +80,6 @@ pub fn generate(data: &Tsdb, sections: Vec<Section>) -> View {
9380
9481 view. group ( ena) ;
9582
96- /*
97- * CPU throttling
98- */
99-
10083 let mut throttle = Group :: new ( "CPU Throttling" , "cpu-throttling" ) ;
10184
10285 let events = throttle. subgroup ( "Throttle Events" ) ;
@@ -135,18 +118,13 @@ pub fn generate(data: &Tsdb, sections: Vec<Section>) -> View {
135118
136119 view. group ( throttle) ;
137120
138- /*
139- * Block IO
140- *
141- * `blockio_errors` is labeled (op, error) where error buckets coarse
142- * blk_status_t classes: io / timeout / nospc / target / protection /
143- * unsupported / other. `blockio_requeues` counts requests the block
144- * layer put back on the queue (driver couldn't complete; SCSI EH or
145- * NVMe controller reset retried under the covers). Pairing them is
146- * diagnostic — high requeues with flat errors means recovery is
147- * absorbing the fault; both rising means real damage.
148- */
149-
121+ // `blockio_errors` is labeled (op, error) where error buckets coarse
122+ // blk_status_t classes: io / timeout / nospc / target / protection /
123+ // unsupported / other. `blockio_requeues` counts requests the block
124+ // layer put back on the queue (driver couldn't complete; SCSI EH or
125+ // NVMe controller reset retried under the covers). Pairing them is
126+ // diagnostic — high requeues with flat errors means recovery is
127+ // absorbing the fault; both rising means real damage.
150128 let mut blockio = Group :: new ( "Block IO" , "blockio" ) ;
151129
152130 let errors = blockio. subgroup ( "Errors" ) ;
0 commit comments