jianyuan/terraform-provider-sentry

Feature request: Issue Grouping

Closed this issue · 4 comments

Hey, thanks for the provider!

My team uses Sentry, the main thing that would be valuable for us to manage via terraform are the issue grouping rules (found at https://sentry.io/settings/$ORG_SLUG/projects/$PROJECT_SLUG/issue-grouping/). Having this as something managed via source control would be really awesome!

Here is what the enhancement could look like:

resource "sentry_project" "my_project" {

  # ...

  # FINGERPRINT RULES
  fingerprinting_rules = <<-EOT
  # force all errors of the same type to have the same fingerprint
  error.type:DatabaseUnavailable -> system-down
  # force all memory allocation errors to be grouped together
  stack.function:malloc -> memory-allocation-error
  EOT

  # STACK TRACE RULES
  grouping_enhancements = <<-EOT
  # remove all frames above a certain function from grouping
  stack.function:panic_handler ^-group
  # mark all functions following a prefix in-app
  stack.function:mylibrary_* +app
  EOT
}

I want to use this feature.
I made a PR to support this feature, please review it :-)
jianyuan/go-sentry#76

Hi, I see the PR has been open for a while. I'd love to have this feature available through Terraform. We currently manage our sentry configuration entirely through Terraform except for this small part. Do we know when this might be available?
Thanks,
Ryan

Hi @jianyuan , can you please review the linked PR? Our team would benefit from having this feature - we'll have full coverage of our configuration for Sentry written in Terraform.