mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-03 15:31:05 +01:00
change irq psi url
Signed-off-by: mchtech <michu_an@126.com>
This commit is contained in:
parent
fe5ffa916f
commit
d2a307ed93
@ -109,7 +109,7 @@ func (c *pressureStatsCollector) Update(ch chan<- prometheus.Metric) error {
|
|||||||
return fmt.Errorf("failed to retrieve pressure stats: %w", err)
|
return fmt.Errorf("failed to retrieve pressure stats: %w", err)
|
||||||
}
|
}
|
||||||
// IRQ pressure does not have 'some' data.
|
// IRQ pressure does not have 'some' data.
|
||||||
// See https://github.com/torvalds/linux/blob/v6.9/kernel/sched/psi.c#L1243
|
// See https://github.com/torvalds/linux/blob/v6.9/include/linux/psi_types.h#L65
|
||||||
if vals.Some == nil && res != "irq" {
|
if vals.Some == nil && res != "irq" {
|
||||||
level.Debug(c.logger).Log("msg", "pressure information returned no 'some' data")
|
level.Debug(c.logger).Log("msg", "pressure information returned no 'some' data")
|
||||||
return ErrNoData
|
return ErrNoData
|
||||||
|
Loading…
Reference in New Issue
Block a user