Skip to content

Conversation

@kuzaxak
Copy link

@kuzaxak kuzaxak commented Jul 12, 2025

Will be used in nelm with annotation werf.io/log-regex-skip.

The filtering logic for the dynamic readiness tracker differs from the multitracker, which is based on the original implementation. In the multitracker, container-specific regexes mutually exclude global regexes, but in the dynamic readiness, they are applied one on top of the other. I preserved a similar logic for the skip regex. Allow users to use both skip and regular filters to exclude parts of the logs and then filter the results.

Closes #369

@kuzaxak
Copy link
Author

kuzaxak commented Jul 29, 2025

@ilya-lesikov could you check pls?

@ilya-lesikov
Copy link
Member

@kuzaxak Sorry, didn't get the notification when PR was opened. Looks good, except we don't need any changes in multitracker. It is not used, gonna be deleted in the future, so don't bother.

@kuzaxak
Copy link
Author

kuzaxak commented Jul 29, 2025

@kuzaxak Sorry, didn't get the notification when PR was opened. Looks good, except we don't need any changes in multitracker. It is not used, gonna be deleted in the future, so don't bother.

Thanks, will update my PR.

Will be used in nelm with annotation `werf.io/log-regex-skip`.

Closes werf#369

Signed-off-by: Vladimir Kuznichenkov <[email protected]>
@kuzaxak
Copy link
Author

kuzaxak commented Jul 31, 2025

@ilya-lesikov removed multitracker changes

@ilya-lesikov ilya-lesikov merged commit 28c356a into werf:main Aug 1, 2025
2 checks passed
@ilya-lesikov
Copy link
Member

@kuzaxak Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add werf.io/log-regex-skip annotation

2 participants