You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timestamp is an int64 (milliseconds since epoch, i.e. 1970-01-01 00:00:00 UTC, excluding leap seconds), represented as required by Go's [ParseInt()](https://golang.org/pkg/strconv/#ParseInt) function.
This causes Prometheus/promtool to error on metrics with a timestamp
error while linting: text format parsing error in line 17: expected integer as timestamp, got "1739889638.000"
The text was updated successfully, but these errors were encountered:
The method here https://github.com/prometheus/client_java/blob/7016bf7c5749e806ef91a918fdb294d394b83a16/prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/TextFormatUtil.java#L24C15-L35
Writes a decimal point.
The spec https://prometheus.io/docs/instrumenting/exposition_formats/#text-format-details
specifies the timestamp as an int64
This causes Prometheus/promtool to error on metrics with a timestamp
The text was updated successfully, but these errors were encountered: