File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ def collect(self):
6262 with open (os .path .join (pid , 'stat' )) as stat :
6363 parts = (stat .read ().split (')' )[- 1 ].split ())
6464 vmem = core .GaugeMetricFamily (self ._prefix + 'virtual_memory_bytes' ,
65- 'Virtual memory size in bytes' , value = float (parts [20 ]))
66- rss = core .GaugeMetricFamily (self ._prefix + 'resident_memory_bytes' , 'Resident memory size in bytes' , value = float (parts [21 ]) * _PAGESIZE )
65+ 'Virtual memory size in bytes. ' , value = float (parts [20 ]))
66+ rss = core .GaugeMetricFamily (self ._prefix + 'resident_memory_bytes' , 'Resident memory size in bytes. ' , value = float (parts [21 ]) * _PAGESIZE )
6767 start_time_secs = float (parts [19 ]) / self ._ticks
6868 start_time = core .GaugeMetricFamily (self ._prefix + 'start_time_seconds' ,
6969 'Start time of the process since unix epoch in seconds.' , value = start_time_secs + self ._btime )
You can’t perform that action at this time.
0 commit comments