MCPcopy Create free account

hub / github.com/getsentry/sentry / functions

Functions89,517 in github.com/getsentry/sentry

↓ 58 callersMethodget_user
(self, user_id)
tests/sentry/middleware/test_suspended.py:188
↓ 57 callersFunctionas_validation_errors
Project a DRF `Serializer.errors` ReturnDict into a structurally typed `dict[str, Any]` so a `Response[ValidationErrorResponse]` union arm is
src/sentry/apidocs/response_types.py:62
↓ 57 callersFunctiongetDuration
( seconds: number, fixedDigits = 0, abbreviation = false, extraShort = false, absolute = false, mi
static/app/utils/duration/getDuration.tsx:74
↓ 57 callersMethodget_organization_by_id
Fetches the organization, team, and project data given by an organization id, regardless of its visibility status When user_
src/sentry/organizations/services/organization/service.py:84
↓ 57 callersMethodpost_and_retrieve_event
(self, data, headers=None)
src/sentry/testutils/relay.py:38
↓ 56 callersFunctionaction_context_scope
Set action attribution context for the duration of a block. Must be set before any code path that calls publish_action_from_context().
src/sentry/issues/action_log/publish.py:59
↓ 56 callersFunctioncreate_audit_entry
( request: HttpRequest, transaction_id: int | str | None = None, logger: Logger | None = None,
src/sentry/utils/audit.py:31
↓ 56 callersMethodcreate_monitor
(self, **kwargs)
src/sentry/testutils/fixtures.py:616
↓ 56 callersFunctioncreate_span
( op, duration=100.0, desc="SELECT count() FROM table WHERE id = %s", hash="", data=None )
src/sentry/testutils/issue_detection/event_generators.py:57
↓ 56 callersMethodget_integration
Returns an RpcIntegration using either the id or a combination of the provider and external_id
src/sentry/integrations/services/integration/service.py:75
↓ 56 callersMethodsubstring
(self)
src/sentry/integrations/slack/requests/options_load.py:30
↓ 56 callersFunctionuseTranslation
()
static/app/components/core/translationContext.tsx:18
↓ 55 callersFunctioncapture_action_log
Capture all publish_action calls within the block via a ContextVar callback.
src/sentry/testutils/helpers/action_log.py:150
↓ 55 callersMethodcreate_alert_rule_trigger_action
( self, alert_rule_trigger=None, target_identifier=None, *args, **kwar
src/sentry/testutils/fixtures.py:582
↓ 55 callersMethodget_by_slug
(self, slug)
src/sentry/adoption/manager.py:40
↓ 55 callersMethodincr
( self, key: str, instance: str | None = None, tags: Tags | None = None,
src/sentry/utils/metrics.py:98
↓ 55 callersMethodload_trace
(self)
tests/snuba/api/endpoints/test_organization_events_trace.py:59
↓ 55 callersFunctiononChange
(_value: string[])
static/app/components/pageFilters/useStagedCompactSelect.spec.tsx:61
↓ 55 callersMethodonUpdate
(org: Organization, options?: {replace: true})
static/app/stores/organizationStore.tsx:21
↓ 55 callersMethodpost_webhook
( self, check_signing_secret_mock, event_data=None, type="event_callback",
tests/sentry/integrations/slack/webhooks/events/__init__.py:77
↓ 54 callersFunctionFeature
Control whether a feature is enabled. A single feature may be conveniently enabled with >>> with Feature('feature-1'): >>> # Exec
src/sentry/testutils/helpers/features.py:28
↓ 54 callersMethodbuild_session
Generates a safe Requests session for the API client to use. This injects a custom is_ipaddress_permitted function to allow only conn
src/sentry/silo/client.py:195
↓ 54 callersFunctioncreate_payloads
(num: int, mailbox: str, provider: str | None = None)
tests/sentry/hybridcloud/tasks/test_deliver_webhooks.py:918
↓ 54 callersMethoddecode
(cls, cursor_str: str)
src/sentry/synapse/paginator.py:24
↓ 54 callersMethodelement
Get an element from the page. This method will wait for the element to show up.
src/sentry/testutils/pytest/selenium.py:127
↓ 54 callersFunctiongetPackageVersion
(params: DocsParams, name: string, fallback: string)
static/app/utils/gettingStartedDocs/getPackageVersion.ts:6
↓ 54 callersMethodget_snql_query
(self)
src/sentry/search/events/builder/base.py:1540
↓ 54 callersFunctionhasEveryAccess
( access: Scope[], entities: { organization?: Organization | null; project?: Project | null; t
static/app/components/acl/access.tsx:80
↓ 54 callersFunctionsafe_quote
(s: Any)
src/sentry/integrations/gitlab/utils.py:144
↓ 54 callersMethodsend_checkin
( self, monitor_slug: str, guid: str | None = None, ts: datetime | None = None
tests/sentry/monitors/consumers/test_monitor_consumer.py:74
↓ 53 callersFunctionadd_group_to_inbox
( group: Group, reason: GroupInboxReason, reason_details: InboxReasonDetails | None = None, )
src/sentry/models/groupinbox.py:70
↓ 53 callersMethoddetect_sdk_crash
Checks if the passed-in event is an SDK crash and stores the stripped event to a Sentry project specified with project_id in the conf
src/sentry/utils/sdk_crashes/sdk_crash_detection.py:79
↓ 53 callersFunctiondump_schema
Convert a Rule tree into a JSON schema
src/sentry/issues/ownership/grammar.py:333
↓ 53 callersMethoderror
(...args: any[])
scripts/analyze-styled.ts:49
↓ 53 callersMethodget_data
(self, **kwargs: Any)
tests/sentry/sentry_apps/api/endpoints/test_sentry_apps.py:159
↓ 53 callersFunctiononChange
(selectedOption: SelectOption<string> | undefined)
static/app/views/performance/transactionSummary/spanCategoryFilter.tsx:71
↓ 53 callersMethodtrigger
( self, event_data: WorkflowEventData, notification_uuid: str, workflow_id: Wo
src/sentry/workflow_engine/models/action.py:128
↓ 52 callersMethod_evaluate
( self, threshold_type, measurement, head_install, head_download,
tests/sentry/preprod/size_analysis/test_grouptype.py:879
↓ 52 callersMethodcreate_external_user
(self, user=None, organization=None, integration=None, **kwargs)
src/sentry/testutils/fixtures.py:651
↓ 52 callersMethodcreate_incident
(self, organization=None, projects=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:559
↓ 52 callersMethodget_event
(self, **kwargs)
tests/sentry/rules/conditions/test_event_attribute.py:17
↓ 52 callersMethodget_response
(self, *args: Organization, **kwargs: Any)
tests/sentry/issues/endpoints/test_organization_group_index.py:100
↓ 52 callersMethodinitialize
(self, set_sentry_option, live_server)
tests/sentry/profiles/test_task.py:680
↓ 52 callersMethodvalidate
(self)
src/sentry/types/cell.py:103
↓ 51 callersFunction_make_event
(action: str = "open", **overrides: object)
tests/sentry/seer/code_review/webhooks/test_merge_request.py:29
↓ 51 callersFunctionassert_any_analytics_event
( mock_record: MagicMock, expected_event: Event, exclude_fields: list[str] | None = None, )
src/sentry/testutils/helpers/analytics.py:61
↓ 51 callersFunctionatomic_transaction
Open transaction to one or multiple databases. Usage: >>> atomic_transaction(using=router.db_for_write(File)) >>> atomic_transactio
src/sentry/utils/db.py:49
↓ 51 callersFunctionbuild_mock_span
(project_id, *, span_op=None, is_segment=False, attributes=None, **kwargs)
tests/sentry/spans/consumers/process/__init__.py:4
↓ 51 callersMethodconnect
(self)
src/sentry/integrations/perforce/p4protocol/protocol.py:261
↓ 51 callersMethodget_grouping_variants
This is similar to `get_hashes` but will instead return the grouping components for each variant in a dictionary. If `normal
src/sentry/services/eventstore/models.py:401
↓ 51 callersMethodget_latest_event
Returns the latest/newest event given the conditions and time range. If no event is found, returns None.
src/sentry/models/group.py:1097
↓ 51 callersMethodresolve_column
Column is either an attribute or an aggregate, this function will determine which it is and call the relevant resolve function
src/sentry/search/eap/resolver.py:1041
↓ 51 callersFunctionuseLocalStorageState
( key: string, initialState: S | ((value?: unknown, rawValue?: unknown) => S) )
static/app/utils/useLocalStorageState.ts:100
↓ 50 callersMethodacquire
Attempt to acquire the lock. If the lock is successfully acquired, this method returns a context manager that will automatic
src/sentry/utils/locking/lock.py:28
↓ 50 callersMethodafter
Executed after a Rule matches. Should yield CallBackFuture instances which will then be passed into the given callback.
src/sentry/rules/actions/base.py:35
↓ 50 callersMethodcreate_investigation_block
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:209
↓ 50 callersMethodgroup
(self)
src/sentry/testutils/fixtures.py:140
↓ 50 callersMethodlog
(...args: any[])
scripts/analyze-styled.ts:39
↓ 50 callersFunctionmd5_text
(*args: Any)
src/sentry/utils/hashlib.py:14
↓ 50 callersFunctionparseFunction
(field: string)
static/app/utils/discover/fields.tsx:989
↓ 49 callersFunctionThemeFixture
()
tests/js/fixtures/theme.tsx:3
↓ 49 callersFunction_publish
(*, group: Group, action: GroupAction, actor: GroupActionActor = SYSTEM_ACTOR)
tests/sentry/issues/derived/test_processing.py:80
↓ 49 callersMethod_run_for_group
(self, group, description, headline=None)
tests/sentry/seer/endpoints/test_organization_seer_autofix_overview.py:88
↓ 49 callersMethodaddFilterValue
(key: string, value: string, shouldEscape = true)
static/app/utils/tokenizeSearch.tsx:393
↓ 49 callersFunctiongetCrashReportModalConfigDescription
({link}: {link: string})
static/app/components/onboarding/gettingStartedDoc/utils/feedbackOnboarding.tsx:137
↓ 49 callersFunctiongetCrashReportModalIntroduction
()
static/app/components/onboarding/gettingStartedDoc/utils/feedbackOnboarding.tsx:126
↓ 49 callersMethodget_create_issue_config
( self, group: Group | None, user: RpcUser | User, **kwargs: Any )
src/sentry/integrations/vsts/issues.py:163
↓ 49 callersMethodget_organization_integrations
Returns all RpcOrganizationIntegrations from the matching kwargs. If providers is set, it will also be filtered by the integration pr
src/sentry/integrations/services/integration/service.py:92
↓ 49 callersMethodget_response
Orchestrates GitHub webhook routing across Sentry's multi-service architecture. Handles installation events in control silo and dist
src/sentry/middleware/integrations/parsers/github.py:159
↓ 49 callersFunctionmake_request
( *, auth: Any = None, user: Any = None, user_agent: str | None = None, headers: dict[str,
tests/sentry/api/test_client_kind.py:33
↓ 49 callersMethodpop
( cls, *, entrypoint_key: str, integration_id: int, user_ext_id: str )
src/sentry/seer/entrypoints/cache.py:279
↓ 49 callersFunctionunreachable
(x: never)
static/app/utils/unreachable.tsx:20
↓ 49 callersFunctionuseCopyToClipboard
()
static/app/utils/useCopyToClipboard.tsx:47
↓ 48 callersMethodbind_state
(self, key: str, value: Any)
src/sentry/pipeline/base.py:260
↓ 48 callersMethoddo_request
(self, data, url=None, features=None)
tests/snuba/api/endpoints/test_organization_events_stats.py:86
↓ 48 callersFunctionensure_default_all_projects_detector
Ensure that an org-scoped all-project detector exists for the organization. This detector has project=NULL and config={"organization_id": org
src/sentry/workflow_engine/defaults/detectors.py:283
↓ 48 callersMethodexecute
(self)
src/sentry/db/analyze.py:11
↓ 48 callersMethodfrom_file_with_organization
Retrieve a single FileBlob instances for the given file and binds it to an organization via the FileBlobOwner.
src/sentry/models/files/abstractfileblob.py:177
↓ 48 callersFunctionget_date_range_from_params
( params: Mapping[str, Any], optional: Literal[False] = ..., default_stats_period: datetime.timede
src/sentry/api/utils.py:109
↓ 48 callersFunctionget_fixture_path
(*parts: str)
src/sentry/testutils/factories.py:271
↓ 48 callersMethodget_value
(self, dictionary: Any)
src/sentry/monitors/validators.py:107
↓ 48 callersFunctionstore_event
( default_project: Project, factories: ModuleType )
tests/sentry/utils/sdk_crashes/conftest.py:17
↓ 47 callersMethod_do_request
(self, data, url=None, features=None)
tests/snuba/api/endpoints/test_organization_events_timeseries_spans.py:85
↓ 47 callersMethod_get_url
(self, group_id: int)
tests/sentry/seer/endpoints/test_group_ai_autofix.py:50
↓ 47 callersMethodcreate
(self, validated_value: InputData)
src/sentry/workflow_engine/endpoints/validators/base/workflow.py:399
↓ 47 callersMethodcreate_repository
(self, **kwargs: Any)
tests/sentry/integrations/bitbucket/test_webhook.py:60
↓ 47 callersMethodencode
(self)
src/sentry/synapse/paginator.py:31
↓ 47 callersFunctiongetShortEventId
(eventId: string)
static/app/utils/events.tsx:127
↓ 47 callersFunctionget_crash_event
( handled=False, function="-[Sentry]", registers: Sequence[Mapping[str, str]] | None = None, *
fixtures/sdk_crash_detection/crash_event_cocoa.py:105
↓ 47 callersFunctionget_test_message
( project_id: int, include_event: bool = True, **overrides: Any )
tests/sentry/issues/test_occurrence_consumer.py:46
↓ 47 callersMethodmutate
(run: OnboardingRun)
src/sentry/onboarding/agentic_progress/service.py:151
↓ 47 callersFunctionopenConfirmModal
({ bypass, onConfirming, priority = 'primary', cancelText = t('Cancel'), confirmText = t('Confirm'),
static/app/components/confirm.tsx:158
↓ 47 callersMethodsave_session
(self)
src/sentry/testutils/cases.py:260
↓ 47 callersMethodstore_ai_span
Create and store an AI span with the given attributes. Args: conversation_id: The gen_ai.conversation.id(old), and ai_conversatio
tests/sentry/api/endpoints/test_organization_ai_conversations_base.py:20
↓ 47 callersMethodupdate
Use the latest timestamp for a set of group IDs with the same Snuba query. We will query backwards in time from this point.
src/sentry/workflow_engine/processors/delayed_workflow.py:258
↓ 47 callersFunctionuseLLMContext
( data?: unknown )
static/app/views/seerExplorer/contexts/llmContext.tsx:319
↓ 46 callersMethodbulk_store_sessions
(self, sessions)
src/sentry/testutils/cases.py:1540
↓ 46 callersMethodcreate_investigation
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:191
↓ 46 callersMethodget_model
(self)
src/sentry/deletions/models/scheduleddeletion.py:115
↓ 46 callersMethodis_limited
( self, key: str, limit: int, project: Project | None = None, window: int | None = None )
src/sentry/ratelimits/base.py:16
← previousnext →401–500 of 89,517, ranked by callers