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
{{ message }}
Repository navigation
[BUG] Prometheus parser 0.22.0 does not early skip comment lines #1108
Starting with version 0.22.0, comment lines do not skip validation and parsing early enough and third token goes into _is_valid_legacy_metric_name which results with an error when it does not match the METRIC_NAME_RE
Example:
"""# A random comment which goes into validation and passes"""
"""# Another random. comment which goes into validation and fails"""
"""# Whatever 335/125 random comment which goes into validation and fails"""
Activity
BugFix: Skip validating and parsing commit lines early (prometheus#1108)
BugFix: Skip validating and parsing comment lines early (prometheus#1108
wissamir commentedon May 27, 2025
Fix proposal PR #1109
BugFix: Skip validating and parsing comment lines early (prometheus#1108
BugFix: Skip validating and parsing comment lines early (#1108) (#1109)