class SentryAppTokenExchangedEvent(analytics.Event):
    type = 'sentry_app.token_exchanged'

    attributes = (
        analytics.Attribute('sentry_app_installation_id'),
        analytics.Attribute('exchange_type'),
    )
示例#2
0
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"),
    )
示例#4
0
class IntegrationSlackLinkIdentity(analytics.Event):  # type: ignore
    type = "integrations.slack.chart_unfurl_action"

    attributes = (
        analytics.Attribute("organization_id"),
        analytics.Attribute("action"),
    )
示例#5
0
class SentryAppUpdatedEvent(analytics.Event):
    type = 'sentry_app.updated'

    attributes = (
        analytics.Attribute('user_id'),
        analytics.Attribute('sentry_app'),
    )
示例#6
0
class SentryAppTokenExchangedEvent(analytics.Event):
    type = "sentry_app.token_exchanged"

    attributes = (
        analytics.Attribute("sentry_app_installation_id"),
        analytics.Attribute("exchange_type"),
    )
示例#7
0
class SentryAppInstalledEvent(analytics.Event):
    type = "sentry_app.installed"

    attributes = (
        analytics.Attribute("user_id"),
        analytics.Attribute("organization_id"),
        analytics.Attribute("sentry_app"),
    )
示例#8
0
class IssueOwnersAssignment(analytics.Event):
    type = "issueowners.assignment"

    attributes = (
        analytics.Attribute("organization_id"),
        analytics.Attribute("project_id"),
        analytics.Attribute("group_id"),
    )
示例#9
0
class FirstReleaseTagSentEvent(analytics.Event):
    type = "first_release_tag.sent"

    attributes = (
        analytics.Attribute("user_id"),
        analytics.Attribute("organization_id"),
        analytics.Attribute("project_id"),
    )
示例#10
0
class IntegrationRepoAddedEvent(analytics.Event):
    type = 'integration.repo.added'

    attributes = (
        analytics.Attribute('provider'),
        analytics.Attribute('id'),
        analytics.Attribute('organization_id'),
    )
示例#11
0
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),
    )
示例#12
0
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),
    ]
示例#13
0
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),
    )
示例#15
0
class FirstUserContextSentEvent(analytics.Event):
    type = "first_user_context.sent"

    attributes = (
        analytics.Attribute("user_id"),
        analytics.Attribute("organization_id"),
        analytics.Attribute("project_id"),
    )
示例#16
0
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),
    )
示例#17
0
class UserCreatedEvent(analytics.Event):
    type = "user.created"

    attributes = (
        analytics.Attribute("id"),
        analytics.Attribute("username"),
        analytics.Attribute("email"),
    )
示例#18
0
class IntegrationIssueAssigneeSyncedEvent(analytics.Event):
    type = 'integration.issue.assignee.synced'

    attributes = (
        analytics.Attribute('provider'),
        analytics.Attribute('id'),
        analytics.Attribute('organization_id'),
    )
示例#19
0
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"),
    )
示例#21
0
class SSOEnabledEvent(analytics.Event):
    type = "sso.enabled"

    attributes = (
        analytics.Attribute("user_id"),
        analytics.Attribute("organization_id"),
        analytics.Attribute("provider"),
    )
示例#22
0
class IntegrationIssueAssigneeSyncedEvent(analytics.Event):
    type = "integration.issue.assignee.synced"

    attributes = (
        analytics.Attribute("provider"),
        analytics.Attribute("id"),
        analytics.Attribute("organization_id"),
    )
示例#23
0
class IntegrationIssueCommentsSyncedEvent(analytics.Event):
    type = 'integration.issue.comments.synced'

    attributes = (
        analytics.Attribute('provider'),
        analytics.Attribute('id'),
        analytics.Attribute('organization_id'),
    )
示例#24
0
class IntegrationIssueCommentsSyncedEvent(analytics.Event):
    type = "integration.issue.comments.synced"

    attributes = (
        analytics.Attribute("provider"),
        analytics.Attribute("id"),
        analytics.Attribute("organization_id"),
    )
示例#25
0
class IntegrationResolvePREvent(analytics.Event):
    type = 'integration.resolve.pr'

    attributes = (
        analytics.Attribute('provider'),
        analytics.Attribute('id'),
        analytics.Attribute('organization_id'),
    )
示例#26
0
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'),
    )
示例#28
0
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'),
    )