-
Notifications
You must be signed in to change notification settings - Fork 26
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
Detector fails to link Slack notification silently #8
Comments
#9 out for review. I'll update you as soon as it gets merged. I tested it locally. If it keeps failing with an error that looks like the following, the problem is related to invalid credentials:
HTTP ERROR 400Problem accessing /v2/detector. Reason: Bad Request |
Tested #9 and confirmed that it works! |
This could go in a follow up story but I think it should throw an error if the notification type is not defined. |
Hi it's a great idea but unfortunately ValidateFunc only works for primitive types so it makes kinda hard to do validations on lists. thanks for the feedback and for taking some time to test my change. really appreciated that ;) |
It might be possible to add the validation check to https://github.com/Yelp/signalform-tools, since we have already a command to perform more advanced validation of terraform resources: https://github.com/Yelp/signalform-tools/blob/master/signalform_tools/validate.py We run this validation as git pre-commit hook (https://pre-commit.com/) for our internal repo at Yelp. @blkperl If this could work for you and you want to take a stab at it, feel free to go ahead. |
The Slack notification is silently failing. The Pagerduty one is linked but the Slack one is not linked when I look at them in the SignalFX UI.
This is the code that I have that creates the detectors.
The text was updated successfully, but these errors were encountered: