department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

Enable GitHub integration for Sentry #13158

Closed kfrz closed 3 years ago

kfrz commented 4 years ago

Issue Description

As an engineer using Sentry to track errors, I can leverage GitHub integration features to track repository changes and link GitHub issues to errors.


Tasks

Acceptance Criteria


How to configure this issue

mmiddaugh commented 3 years ago

This came up during a Sentry review meeting today. What's the latest status on this integration @alexpappasoddball ?

alexpappasoddball commented 3 years ago

@mmiddaugh From our side, we are waiting for the Ops team to complete the minor upgrade (which they have already started and are actively working on). From there, Backend tools will finish the configuration to allow for GitHub integration and Slack Integration. Don't have an exact time frame for you yet, but it shouldn't be long now!

mpelzsherman commented 3 years ago

Any updates on this?

jeff2d2 commented 3 years ago

Blocked until #15175 is complete

jeff2d2 commented 3 years ago

According to this Slack thread, GitHub integrations were installed during the upgrade to Sentry 20, and so this work should be complete.

@mleclerc00 can you double confirm for us here please?

mleclerc00 commented 3 years ago

The github integration has always been installed as far as I know even prior to the update to 20.x/migration to kubernetes. The oauth and github integration are both managed through the same github-app "vsp-sentry10-github"

mpelzsherman commented 3 years ago

Getting an error when I try to link a Sentry issue to GitHub:

Screen Shot 2021-06-28 at 4 45 39 PM

Common__Exceptions__BackendServiceException__Common__Exceptions__BackendServiceException_-_vsp_-_platform-api

mpelzsherman commented 3 years ago

BTW, loading data takes a lot longer now than it used to... and seems to error/time out about half the time.

mleclerc00 commented 3 years ago

I will look into the github integration. This predates me and I am not a owner on the app so I have no insight into any of the configurations. When doing the update/migration I merely copy and pasted the configurations that were already there. Though it seems that this never worked? I have reached out to github admins to see if I can get this straightened away. As for the performance issues. We are aware and will be trying to tweak the deployment in order to improve said latency/errors.

mleclerc00 commented 3 years ago

I was able to get one of the two integration installs to work. Not quite sure why there are 2 but I am hesitant to delete the other one. As of right now that particular app only has vision into 3 of the repositories. If that needs to change we will need to speak with a github admin to do so. I haven't actually tried to link a issue but it seems like the rest of the process should work.

image