process: negative values with windows_process_start_time (#1857)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2025-01-30 20:30:08 +01:00
committed by GitHub
parent 8bff623393
commit 71ec0bd6a3
4 changed files with 29 additions and 3 deletions

View File

@@ -141,6 +141,13 @@ func (c *Collector) collectWorkerV1() {
name, pidString,
)
ch <- prometheus.MustNewConstMetric(
c.startTimeOld,
prometheus.GaugeValue,
data.ElapsedTime,
name, pidString,
)
ch <- prometheus.MustNewConstMetric(
c.handleCount,
prometheus.GaugeValue,