class SentryAppTokenExchangedEvent(analytics.Event): type = 'sentry_app.token_exchanged' attributes = ( analytics.Attribute('sentry_app_installation_id'), analytics.Attribute('exchange_type'), )
class OrganizationJoinedEvent(analytics.Event): type = 'organization.joined' attributes = ( analytics.Attribute('user_id'), analytics.Attribute('organization_id'), )
class NotificationSettingsUpdated(analytics.Event): type = "notifications.settings_updated" attributes = ( analytics.Attribute("target_type"), analytics.Attribute("actor_id"), )
class IntegrationSlackLinkIdentity(analytics.Event): # type: ignore type = "integrations.slack.chart_unfurl_action" attributes = ( analytics.Attribute("organization_id"), analytics.Attribute("action"), )
class SentryAppUpdatedEvent(analytics.Event): type = 'sentry_app.updated' attributes = ( analytics.Attribute('user_id'), analytics.Attribute('sentry_app'), )
class SentryAppTokenExchangedEvent(analytics.Event): type = "sentry_app.token_exchanged" attributes = ( analytics.Attribute("sentry_app_installation_id"), analytics.Attribute("exchange_type"), )
class SentryAppInstalledEvent(analytics.Event): type = "sentry_app.installed" attributes = ( analytics.Attribute("user_id"), analytics.Attribute("organization_id"), analytics.Attribute("sentry_app"), )
class IssueOwnersAssignment(analytics.Event): type = "issueowners.assignment" attributes = ( analytics.Attribute("organization_id"), analytics.Attribute("project_id"), analytics.Attribute("group_id"), )
class FirstReleaseTagSentEvent(analytics.Event): type = "first_release_tag.sent" attributes = ( analytics.Attribute("user_id"), analytics.Attribute("organization_id"), analytics.Attribute("project_id"), )
class IntegrationRepoAddedEvent(analytics.Event): type = 'integration.repo.added' attributes = ( analytics.Attribute('provider'), analytics.Attribute('id'), analytics.Attribute('organization_id'), )
class IntegrationSlackChartUnfurl(analytics.Event): # type: ignore type = "integrations.slack.chart_unfurl" attributes = ( analytics.Attribute("user_id", required=False), analytics.Attribute("organization_id"), analytics.Attribute("unfurls_count", type=int), )
class InAppRequestSentEvent(analytics.Event, abc.ABC): attributes = [ analytics.Attribute("organization_id"), analytics.Attribute("user_id", required=False), analytics.Attribute("target_user_id"), analytics.Attribute("providers"), analytics.Attribute("subtype", required=False), ]
class CommentEvent(analytics.Event, abc.ABC): attributes = ( analytics.Attribute("user_id", type=int, required=False), analytics.Attribute("group_id", type=int), analytics.Attribute("project_slug", type=str), analytics.Attribute("installation_id", type=int), analytics.Attribute("comment_id", type=int), )
class OpsgenieIntegrationStatus(analytics.Event): type = 'integrations.opsgenie.status' attributes = ( analytics.Attribute('status'), analytics.Attribute('resolve_type', required=False), analytics.Attribute('actor_id', required=False), )
class FirstUserContextSentEvent(analytics.Event): type = "first_user_context.sent" attributes = ( analytics.Attribute("user_id"), analytics.Attribute("organization_id"), analytics.Attribute("project_id"), )
class SlackIntegrationStatus(analytics.Event): # type: ignore type = "integrations.slack.status" attributes = ( analytics.Attribute("status"), analytics.Attribute("resolve_type", required=False), analytics.Attribute("actor_id", required=False), )
class UserCreatedEvent(analytics.Event): type = "user.created" attributes = ( analytics.Attribute("id"), analytics.Attribute("username"), analytics.Attribute("email"), )
class IntegrationIssueAssigneeSyncedEvent(analytics.Event): type = 'integration.issue.assignee.synced' attributes = ( analytics.Attribute('provider'), analytics.Attribute('id'), analytics.Attribute('organization_id'), )
class OrganizationSavedSearchCreatedEvent(analytics.Event): type = "organization_saved_search.created" attributes = ( analytics.Attribute("org_id"), analytics.Attribute("search_type"), analytics.Attribute("query"), )
class AdvancedSearchFeatureGateEvent(analytics.Event): type = "advanced_search.feature_gated" attributes = ( analytics.Attribute("user_id", required=False), analytics.Attribute("default_user_id"), analytics.Attribute("organization_id"), )
class SSOEnabledEvent(analytics.Event): type = "sso.enabled" attributes = ( analytics.Attribute("user_id"), analytics.Attribute("organization_id"), analytics.Attribute("provider"), )
class IntegrationIssueAssigneeSyncedEvent(analytics.Event): type = "integration.issue.assignee.synced" attributes = ( analytics.Attribute("provider"), analytics.Attribute("id"), analytics.Attribute("organization_id"), )
class IntegrationIssueCommentsSyncedEvent(analytics.Event): type = 'integration.issue.comments.synced' attributes = ( analytics.Attribute('provider'), analytics.Attribute('id'), analytics.Attribute('organization_id'), )
class IntegrationIssueCommentsSyncedEvent(analytics.Event): type = "integration.issue.comments.synced" attributes = ( analytics.Attribute("provider"), analytics.Attribute("id"), analytics.Attribute("organization_id"), )
class IntegrationResolvePREvent(analytics.Event): type = 'integration.resolve.pr' attributes = ( analytics.Attribute('provider'), analytics.Attribute('id'), analytics.Attribute('organization_id'), )
class IntegrationRepoAddedEvent(analytics.Event): type = "integration.repo.added" attributes = ( analytics.Attribute("provider"), analytics.Attribute("id"), analytics.Attribute("organization_id"), )
class SentryAppCreatedEvent(analytics.Event): type = 'sentry_app.created' attributes = ( analytics.Attribute('user_id'), analytics.Attribute('organization_id'), analytics.Attribute('sentry_app'), )
class IntegrationResolvePREvent(analytics.Event): type = "integration.resolve.pr" attributes = ( analytics.Attribute("provider"), analytics.Attribute("id"), analytics.Attribute("organization_id"), )
class FirstSourcemapsSentEvent(analytics.Event): type = 'first_sourcemaps.sent' attributes = ( analytics.Attribute('user_id'), analytics.Attribute('organization_id'), analytics.Attribute('project_id'), )
class IntegrationIssueLinkedEvent(analytics.Event): type = 'integration.issue.linked' attributes = ( analytics.Attribute('provider'), analytics.Attribute('id'), analytics.Attribute('organization_id'), )