Skip to content

Commit 261fe84

Browse files
ArthurSensbwplotka
authored andcommitted
bugfix: Pass network metrics to processCollector's Describe() function
Signed-off-by: Arthur Silva Sens <[email protected]>
1 parent 5bf3341 commit 261fe84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

prometheus/process_collector.go

+2
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)