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(app-platform): Analytics #12718

Merged
merged 1 commit into from
Apr 15, 2019
Merged

feat(app-platform): Analytics #12718

merged 1 commit into from
Apr 15, 2019

Conversation

mnoble
Copy link
Contributor

@mnoble mnoble commented Apr 10, 2019

Adds analytics recording for a set of events:

  • Sentry App Created
  • Sentry App Updated
  • Sentry App Deleted
  • Sentry App Installed
  • Sentry App Uninstalled
  • Sentry App Token Exchanged (authorize)
  • Sentry App Token Exchanged (refresh)

@mnoble mnoble requested review from adhiraj and MeredithAnya April 10, 2019 20:37
class SentryAppDeletedEvent(analytics.Event):
type = 'sentry_app.deleted'

attributes = (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason we don't want the organization_id for this event? (for update app as well)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can derive the Org from the SentryApp, so I figured we didn't need it here.

@@ -58,6 +60,8 @@ def _create_sentry_app(self):
overview=self.overview,
)

return self.sentry_app
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need this because we already have self.app, maybe its worth changing that to be self.sentry_app?

Adds analytics recording for a set of events:

- Sentry App Created
- Sentry App Updated
- Sentry App Deleted
- Sentry App Installed
- Sentry App Uninstalled
- Sentry App Token Exchanged (authorize)
- Sentry App Token Exchanged (refresh)
@mnoble mnoble force-pushed the app-platform/analytics branch from f2ec612 to 1909357 Compare April 15, 2019 20:13
@mnoble mnoble merged commit 63ead02 into master Apr 15, 2019
@mnoble mnoble deleted the app-platform/analytics branch April 15, 2019 22:37
jan-auer added a commit that referenced this pull request Apr 16, 2019
* master: (50 commits)
  fix(ui) Don't show save-org-search on event search (#12785)
  ref(ui): Remove some unnecessary index.jsx files (#12606)
  feat(app-platform): Analytics (#12718)
  ref(js): Remove ApiMixin (#12384)
  test(js): Silence project plugin console info spam (#12761)
  test(js): Move SaveSearchStore.reset() (#12769)
  test(js): Add more fields to Group fixture (#12759)
  feat(app-platform): Integration "Learn More" modal (#12638)
  feat(saved-searches) Move create saved search button to search bar. (#12781)
  ref(global-header): Remove dead code (#12767)
  ref(releases): Refactored Releases Serializers (#12535)
  feat(app-platform): Sort Integrations (#12697)
  ref(audit-log): Log sso config updates (#12744)
  ref(app-platform): New 'Open In' UI  (#12621)
  feat(events): Use SnubaEvent if option is turned on (#12594)
  feat(global-selection-header): show settings icon link in single project mode (#12772)
  refs(api): Consolidate all search backend code into `SnubaSearchBackend`
  fix(tests) Remove large snapshots (#12766)
  fix: Update symbolicator snapshots (#12710)
  ref: Upgrade semaphore (#12751)
  ...
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants