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

feat: Support events type on alerts. #237

Merged
merged 1 commit into from
Dec 9, 2022
Merged

feat: Support events type on alerts. #237

merged 1 commit into from
Dec 9, 2022

Conversation

eugeniykurasov
Copy link
Contributor

No description provided.

@eugeniykurasov
Copy link
Contributor Author

@jianyuan Hi, can you please approve for workflow run?

@jianyuan
Copy link
Owner

jianyuan commented Dec 9, 2022

I'm not sure why the GitHub secrets are not passed into the workflow. I'll approve and merge it anyways and let the tests run on the main branch.

Thanks for your contributions, @eugeniykurasov!

@jianyuan jianyuan merged commit 341bc70 into jianyuan:main Dec 9, 2022
@eugeniykurasov
Copy link
Contributor Author

Thanks for merge.
I will find credentials for local run and prepare fix for test.

@jianyuan
Copy link
Owner

@eugeniykurasov After doing some testing, it seems that the get metric alert endpoint that is nested under the "projects" resource does not return the event types. We will need to switch to the one that is nested under the "organisations" resource:

  1. https://sentry.io/api/0/projects/terraform-provider-sentry/project-name/alert-rules/110484/ - does not contain eventTypes
  2. https://sentry.io/api/0/organizations/terraform-provider-sentry/alert-rules/110484/ - contains eventTypes

I will fix this shortly.

@eugeniykurasov
Copy link
Contributor Author

@jianyuan thanks. I tested few alerts type (which I have access).

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