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
This library is used in grafana/loki and then that code is used within grafana/alloy as well, and a user encountered an issue with the default 0'd out year with a RFC3164 message grafana/alloy#2287 . I went to go update the loki code to use the WithYear/CurrentYear option but that code uses the nontransparent & octetcounting parsers, rather than the rfc3164 & rfc5424 parsers.
I would propose updating the parsers to support these options. I think an ideal world would unify the With to no longer have separate ParserOption & MachineOption function types, but at least support for WithYear in the other parsers would unblock these changes.
The text was updated successfully, but these errors were encountered:
This library is used in grafana/loki and then that code is used within grafana/alloy as well, and a user encountered an issue with the default 0'd out year with a RFC3164 message grafana/alloy#2287 . I went to go update the loki code to use the WithYear/CurrentYear option but that code uses the nontransparent & octetcounting parsers, rather than the rfc3164 & rfc5424 parsers.
I would propose updating the parsers to support these options. I think an ideal world would unify the With to no longer have separate ParserOption & MachineOption function types, but at least support for WithYear in the other parsers would unblock these changes.
The text was updated successfully, but these errors were encountered: