Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dynamic label regex parsing behaviour #176

Merged
merged 5 commits into from
Mar 4, 2022
Merged

Conversation

fstolba
Copy link
Contributor

@fstolba fstolba commented Mar 4, 2022

This is supposed to fix !163. Basically introduces additional constraints for user supplied regexes and ensures that at least the default regex is loaded in all cases.

If there's any feedback for the code it's more than welcome since I'm a go novice.

Also clarifies the README.md a bit.

@czerwonk czerwonk self-requested a review March 4, 2022 14:31
junos_collector.go Outdated Show resolved Hide resolved
junos_collector.go Outdated Show resolved Hide resolved
@czerwonk czerwonk merged commit 38acf5b into czerwonk:master Mar 4, 2022
@czerwonk
Copy link
Owner

czerwonk commented Mar 4, 2022

Thanks for contributing! 🙂

@qybl
Copy link
Contributor

qybl commented Apr 27, 2022

Hi, I think this should warrant a release as 0.9.14 is not usable with -config.ignore-targets=true without also disabling dynamic interface labels.

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.

3 participants