Skip to content

Commit

Permalink
bugfix: Pass network metrics to processCollector's Describe() function
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Silva Sens <[email protected]>
  • Loading branch information
ArthurSens authored and bwplotka committed Aug 20, 2024
1 parent 5bf3341 commit 261fe84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prometheus/process_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ func (c *processCollector) Describe(ch chan<- *Desc) {
ch <- c.maxVsize
ch <- c.rss
ch <- c.startTime
ch <- c.inBytes
ch <- c.outBytes
}

// Collect returns the current state of all metrics of the collector.
Expand Down

0 comments on commit 261fe84

Please sign in to comment.