Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
tools
cgroups-exporter
Commits
04eff7ed
Commit
04eff7ed
authored
Sep 08, 2021
by
ale
Browse files
Merge branch 'v2'
parents
cb0f5979
373d8125
Pipeline
#20630
passed with stages
in 1 minute and 11 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cpu_v2.go
View file @
04eff7ed
...
...
@@ -56,13 +56,13 @@ func (p *cpuV2Parser) parse(path, slice, unit string, ch chan<- prometheus.Metri
ch
<-
prometheus
.
MustNewConstMetric
(
cpuV2PressureWaitingDesc
,
prometheus
.
CounterValue
,
float64
(
waiting
),
float64
(
waiting
)
/
usecs
,
slice
,
unit
,
)
ch
<-
prometheus
.
MustNewConstMetric
(
cpuV2PressureStalledDesc
,
prometheus
.
CounterValue
,
float64
(
stalled
),
float64
(
stalled
)
/
usecs
,
slice
,
unit
,
)
}
...
...
io_v2.go
View file @
04eff7ed
...
...
@@ -149,13 +149,13 @@ func (p *blkioV2Parser) parse(path, slice, unit string, ch chan<- prometheus.Met
ch
<-
prometheus
.
MustNewConstMetric
(
ioV2PressureWaitingDesc
,
prometheus
.
CounterValue
,
float64
(
waiting
),
float64
(
waiting
)
/
usecs
,
slice
,
unit
,
)
ch
<-
prometheus
.
MustNewConstMetric
(
ioV2PressureStalledDesc
,
prometheus
.
CounterValue
,
float64
(
stalled
),
float64
(
stalled
)
/
usecs
,
slice
,
unit
,
)
}
...
...
mem_v2.go
View file @
04eff7ed
...
...
@@ -48,13 +48,13 @@ func (p *memoryV2Parser) parse(path, slice, unit string, ch chan<- prometheus.Me
ch
<-
prometheus
.
MustNewConstMetric
(
memV2PressureWaitingDesc
,
prometheus
.
CounterValue
,
float64
(
waiting
),
float64
(
waiting
)
/
usecs
,
slice
,
unit
,
)
ch
<-
prometheus
.
MustNewConstMetric
(
memV2PressureStalledDesc
,
prometheus
.
CounterValue
,
float64
(
stalled
),
float64
(
stalled
)
/
usecs
,
slice
,
unit
,
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment