mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-01 07:50:26 +02:00
procStat.CPUTime() is already a sum (#1979)
This commit is contained in:
parent
db0b9f9c74
commit
816fb60b7c
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func NewProcessCollector(name string) *ProcessCollector {
|
||||||
Name: pc.cpuTotal.Name(),
|
Name: pc.cpuTotal.Name(),
|
||||||
Description: pc.cpuTotal.Description(),
|
Description: pc.cpuTotal.Description(),
|
||||||
Measure: pc.cpuTotal,
|
Measure: pc.cpuTotal,
|
||||||
Aggregation: view.Sum(),
|
Aggregation: view.LastValue(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: pc.openFDs.Name(),
|
Name: pc.openFDs.Name(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue