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

Split off metrics #147

Closed
chadwhitacre opened this issue Mar 1, 2021 · 12 comments
Closed

Split off metrics #147

chadwhitacre opened this issue Mar 1, 2021 · 12 comments

Comments

@chadwhitacre
Copy link
Member

What do you think about splitting up the ci-tooling repo so that metrics lives by itself? My concern is that the slack/github/freight changes can end up breaking metrics

@chadwhitacre
Copy link
Member Author

We have a thread over on the OSS side to move at least some things from actions into an app: getsentry/.github#5. This could be the beginning of that. I.e., first split out the OSS metrics pipeline into an app owned by Open Source instead of p10y, then we can start adding write/push features such as getsentry/team-ospo#2 getsentry/.github#56 getsentry/.github#55.

Thoughts @BYK?

@chadwhitacre
Copy link
Member Author

(cc: @billyvg @armenzg in case you're not already seeing this.)

@billyvg
Copy link
Member

billyvg commented Mar 1, 2021

IMO metrics should live in an app by itself, independent of any automations, otherwise we'll run into the same concerns as the OT. Metrics in this case, in addition to OSS metrics, would also include sentry + getsentry + Freight metrics as well.

For the OSS/GH automations, you may or may not want to piggy back off the existing infrastructure in this repo.

@chadwhitacre
Copy link
Member Author

@billyvg Are you envisioning two separate repos, or separate apps in the same repo?

@BYK
Copy link
Member

BYK commented Mar 3, 2021

@chadwhitacre my understanding is two separate repos sharing some core infra/logic. That said I still strongly oppose an app we run and manage (instead of github actions). The only exception is if we setup Google Cloud Run and deploy on merge to master automatically so it is essentially the same thing, but on Google Infra :D

@chadwhitacre
Copy link
Member Author

If the opposition to an app instead of actions is ease of deployment then yeah let's figure out easy deployment. I think it is worth shifting to an app for the greatly improved reaction time. I want to apply e.g. a Team: * label and see the bot respond "immediately" rather than waiting a couple minutes. Provides a better experience, knowing the bot is working and noticing sooner when it fails.

@billyvg
Copy link
Member

billyvg commented Mar 3, 2021

It should be 2 separate GH Apps as we can properly configure the webhook endpoints + subscribe to the relevant events/permissions. In regards to repos, I have less of an opinion on that, but separate may make things easier as we would need better tooling to support a monorepo.

And FWIW, this repo auto deploys to GCR on master pushes, so that infra is already in place.

@chadwhitacre
Copy link
Member Author

We're definitely not a monorepo org so it doesn't seem like we should go that route here.

@chadwhitacre
Copy link
Member Author

Okay! So let's fork this repo—sentry-dev-metrics?—and rip metrics out of this one and rip everything else out of the new one. Sound right?

@chadwhitacre
Copy link
Member Author

I guess the real question is who wants to take this on? :) Do you have bandwidth @billyvg?

@billyvg
Copy link
Member

billyvg commented Mar 3, 2021

I can work on it but it won't be until later on in the quarter (or next quarter).

@chadwhitacre chadwhitacre changed the title Split off OSS metrics Split off metrics Mar 4, 2021
@chadwhitacre
Copy link
Member Author

chadwhitacre commented May 25, 2021

We decided against this. We're going to mitigate the original concern by making sure that metrics happen early in the request/response cycle.

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

No branches or pull requests

3 participants