From d2a307ed9362213d907c62d8242dc63fe5026080 Mon Sep 17 00:00:00 2001 From: mchtech Date: Tue, 11 Jun 2024 10:42:57 +0000 Subject: [PATCH] change irq psi url Signed-off-by: mchtech --- collector/pressure_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/pressure_linux.go b/collector/pressure_linux.go index 17502981..36e06505 100644 --- a/collector/pressure_linux.go +++ b/collector/pressure_linux.go @@ -109,7 +109,7 @@ func (c *pressureStatsCollector) Update(ch chan<- prometheus.Metric) error { return fmt.Errorf("failed to retrieve pressure stats: %w", err) } // 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" { level.Debug(c.logger).Log("msg", "pressure information returned no 'some' data") return ErrNoData