sentry icon indicating copy to clipboard operation
sentry copied to clipboard

chore(integrations): integration installation metrics

Open cathteng opened this issue 1 year ago • 5 comments

Adds overall integration installation metrics. This will compare how many times people initiate installing an integration vs how many times they actually complete the installation.

The pipeline is initialized https://github.com/getsentry/sentry/blob/920ca20d7419a66324a85d30195e6f9a2dd573cb/src/sentry/integrations/web/organization_integration_setup.py#L54

And finish_pipeline is the last step https://github.com/getsentry/sentry/blob/920ca20d7419a66324a85d30195e6f9a2dd573cb/src/sentry/pipeline/base.py#L179-L180

It would be useful to capture more granular metrics (but perhaps not report them as SLOs) for steps in the installation pipeline for each integration where errors can arise.

cathteng avatar Oct 03 '24 21:10 cathteng

i realize this basically tracks how many times people just click "Add Installation" but we don't have a way of knowing whether they intended to install for real 🤷‍♀️

cathteng avatar Oct 03 '24 21:10 cathteng

Is this different from just looking at frontend metrics that we're already logging?

ameliahsu avatar Oct 03 '24 21:10 ameliahsu

@ameliahsu do frontend metrics capture that the installation was actually installed?

cathteng avatar Oct 03 '24 21:10 cathteng

@cathteng We log installation start and complete here

ameliahsu avatar Oct 03 '24 21:10 ameliahsu

to follow up, we need to emit these metrics from the backend because the SLO reporting is done through DD

cathteng avatar Oct 03 '24 22:10 cathteng