Skip to content

Commit 3224f59

Browse files
committed
bugfix: Pass network metrics to processCollector's Describe() function
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
1 parent 8f42c7b commit 3224f59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

prometheus/process_collector.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ func (c *processCollector) Describe(ch chan<- *Desc) {
140140
ch <- c.maxVsize
141141
ch <- c.rss
142142
ch <- c.startTime
143+
ch <- c.inBytes
144+
ch <- c.outBytes
143145
}
144146

145147
// Collect returns the current state of all metrics of the collector.

0 commit comments

Comments
 (0)