-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
metric:
name: indicator
type: gauge
labels:
indicator_name: ${! json("indicator") }
value: ${! json("value") }
The above processor gives me errors like: Handler error: value -0.000091 is negative. Also the doc says it must be a positive number. But it's perfectly correct for a gauge metric to have negative values. The Prometheus spec says:
valueis a float represented as required by Go's ParseFloat() function. In addition to standard numerical values, NaN, +Inf, and -Inf are valid values representing not a number, positive infinity, and negative infinity, respectively.
rpk connect --version
Version: 4.75.0
Date: 2025-12-15T20:23:55Z
Metadata
Metadata
Assignees
Labels
No labels