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

Fixing alert filter using alertname #93

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Fixing alert filter using alertname #93

merged 1 commit into from
Jul 25, 2024

Conversation

pavangudiwada
Copy link
Contributor

Fixes

Traceback (most recent call last):                                                                         
alertmanager                                                                                               
    issues = source.fetch_issues()                                                                         
             ^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                                     
line 96, in fetch_issues                                                                                   
    alertname_filter = re.compile(self.alertname)                                                          
                                  ^^^^^^^^^^^^^^                                                           
AttributeError: 'AlertManagerSource' object has no attribute 'alertname'. Did you mean:                    
'username'?     

@pavangudiwada pavangudiwada requested a review from aantn July 25, 2024 07:08
Copy link
Contributor

@aantn aantn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aantn aantn merged commit 05ecf6a into master Jul 25, 2024
9 checks passed
@aantn aantn deleted the fix-alertname-filter branch July 25, 2024 07:10
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.

2 participants