MCPcopy Create free account

hub / github.com/getsentry/sentry / functions

Functions89,517 in github.com/getsentry/sentry

↓ 78 callersMethodenroll
Invoked to enroll a user for this interface. If already enrolled an error is raised. If `disallow_new_enrollment` is `True`, raises
src/sentry/auth/authenticators/base.py:160
↓ 78 callersMethodload
(items: OrganizationSummary[])
static/app/stores/organizationsStore.tsx:16
↓ 78 callersFunctionmatch_link
(link: str)
src/sentry/integrations/slack/unfurl/handlers.py:18
↓ 78 callersMethodopen
(panel: OnboardingDrawerKey)
static/app/stores/onboardingDrawerStore.tsx:10
↓ 78 callersMethodset_projects
(self, project_ids)
src/sentry/explore/models.py:114
↓ 78 callersMethodupdate_organization_config
Update the configuration field for an organization integration. May return per-config-field detail for the caller to record on an au
src/sentry/integrations/base.py:428
↓ 77 callersMethodcreate_identity
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:758
↓ 77 callersFunctiondrain_mailbox
Deliver webhooks from the mailbox that `payload_id` is the head of. The arguments are one claim flattened for the wire (`_MailboxClaim.task_
src/sentry/hybridcloud/tasks/deliver_webhooks.py:858
↓ 77 callersMethodget_event
(self)
tests/sentry/rules/conditions/test_tagged_event.py:15
↓ 77 callersMethodget_primary_hash
(self)
src/sentry/services/eventstore/models.py:458
↓ 76 callersFunctionclose_streaming_response
Exhausts the streamed file in a response. When the file is exhausted, the underlying file descriptor is closed avoiding a `ResourceWarning`.
src/sentry/testutils/helpers/response.py:40
↓ 76 callersMethodsub
(self)
tests/sentry/incidents/subscription_processor/test_subscription_processor_base.py:48
↓ 76 callersMethodupdate
(self, *args, **kwargs)
src/sentry/sentry_apps/models/sentry_app.py:196
↓ 75 callersMethodget_event_by_id
( self, project_id: int, event_id: str, group_id: int | None = None, t
src/sentry/services/eventstore/base.py:244
↓ 75 callersMethodselect
(self)
src/sentry/search/events/builder/discover.py:247
↓ 75 callersMethodstart
* @param seconds The number of seconds to start at
static/app/utils/replays/timer.tsx:35
↓ 75 callersMethodupdate
Update a dashboard, the connected widgets and queries - Widgets in the dashboard currently, but not in validated_data will be remove
src/sentry/api/serializers/rest_framework/dashboard.py:1116
↓ 74 callersMethodcreate_trace_metric
( self, metric_name: str, metric_value: float, metric_type: Literal["counter",
src/sentry/testutils/cases.py:3623
↓ 74 callersMethodcreate_user_auth_token
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:242
↓ 74 callersFunctionfilter
(textValue: string, inputValue: string)
static/app/stories/view/storySearch.tsx:183
↓ 73 callersMethodcapture
(topic: Any, payload: Any)
src/sentry/testutils/cases.py:1176
↓ 73 callersFunctionhandle_query_errors
()
src/sentry/api/utils.py:370
↓ 73 callersMethodstore_span_metric
( self, value: dict[str, int] | list[int] | list[dict[str, int]] | int, metric: str =
src/sentry/testutils/cases.py:2051
↓ 73 callersMethodvalues
(cls)
src/sentry/integrations/gitlab/types.py:11
↓ 72 callersFunction_run_for_feature
(feature: Feature[T], entries: list[FakeEntry])
tests/sentry/issues/derived/test_aggregators.py:56
↓ 72 callersMethod_setup_code_review
(self)
tests/sentry/seer/code_review/webhooks/test_merge_request.py:1005
↓ 72 callersMethodadd_extras
Add multiple values to logged "extra" data.
src/sentry/integrations/utils/metrics.py:151
↓ 72 callersMethodcreate_alert_rule_trigger
(self, alert_rule=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:577
↓ 72 callersMethodcreate_audit_entry
( self, request: Request, transaction_id=None, *, data: dict[str, Any], **kwargs )
src/sentry/api/base.py:409
↓ 72 callersMethoddatetime
(self)
src/sentry/digests/types.py:41
↓ 72 callersMethodupdate_or_create
Wraps `update_or_create()` and ensures `post_save` signals are fired for updated records as `GroupLink` functionality is dependent on
src/sentry/models/pullrequest.py:188
↓ 72 callersMethodurl
(self)
tests/sentry/dashboards/endpoints/test_organization_dashboard_widget_details.py:28
↓ 71 callersMethodcreate_performance_issue
( self, tags=None, contexts=None, fingerprint=None, transaction=None,
src/sentry/testutils/cases.py:491
↓ 71 callersMethodcreate_uptime_subscription
( self, type: str = "test", subscription_id: str | None = None, status: Uptime
src/sentry/testutils/fixtures.py:901
↓ 70 callersMethod_call_handler
(self, event: dict[str, Any])
tests/sentry/seer/code_review/webhooks/test_merge_request.py:1025
↓ 70 callersFunctioncreate_snuba_query
Constructs a SnubaQuery which is the postgres representation of a query in snuba :param query_type: The SnubaQuery.Type of this query :p
src/sentry/snuba/subscriptions.py:25
↓ 70 callersFunctionis_active_superuser
(request: Request)
src/sentry/auth/superuser.py:146
↓ 70 callersMethodtasks
(self)
tests/sentry/workflow_engine/endpoints/test_organization_workflow_details.py:1628
↓ 69 callersMethod_request
(self, query, token=None)
tests/sentry/preprod/api/endpoints/test_builds.py:24
↓ 69 callersMethodbuild_occurrence
(self, **overrides: Any)
tests/sentry/issues/test_utils.py:64
↓ 69 callersMethodget_data
(self)
src/sentry/event_manager.py:437
↓ 69 callersMethodget_many
Fetch multiple values from the store by their keys. Returns an iterator of ``(key, value)`` pairs of items that were present in the
src/sentry/utils/kvstore/abstract.py:30
↓ 69 callersMethodindex
(self)
tests/sentry/similarity/backends/test_redis.py:16
↓ 69 callersMethodseek
(self, offsets: Mapping[Partition, int])
src/sentry/consumers/synchronized.py:285
↓ 69 callersMethodwait_until_not
Waits until ``selector`` is NOT found in the browser, or until ``timeout`` is hit, whichever happens first.
src/sentry/testutils/pytest/selenium.py:243
↓ 68 callersFunction_mock_client
Build a mock GitHub client for detect_platforms_multi. ``tree_paths`` are file paths (blobs). ``dirs`` are directory paths (trees). ``content
tests/sentry/integrations/github/test_multi_platform_detection.py:58
↓ 68 callersMethoddelete
(self, request)
tests/sentry/api/helpers/test_deprecation.py:44
↓ 68 callersMethodexecute
(cls, organization, params: EmptyParams)
tests/sentry/seer/agent/test_custom_tool_utils.py:80
↓ 68 callersMethodget_absolute_url
( self, params: Mapping[str, str] | None = None, event_id: str | None = None, )
src/sentry/models/group.py:964
↓ 68 callersFunctionget_model_name
(model: type[models.Model] | models.Model)
src/sentry/backup/dependencies.py:179
↓ 68 callersMethodhas_project_access
Return bool representing if a user should have access to information for the given project. >>> access.has_project_access(project)
src/sentry/auth/access.py:171
↓ 67 callersFunctionassert_no_webhook_payloads
()
src/sentry/testutils/outbox.py:84
↓ 67 callersMethodget_audit_log_data
(self)
src/sentry/models/rule.py:145
↓ 67 callersFunctionget_installation_of_type
(tp: type[T], integration: Integration, org_id: int)
src/sentry/testutils/helpers/integrations.py:11
↓ 67 callersMethodkeys
(self)
src/sentry/seer/sentry_data_models.py:833
↓ 67 callersMethodmock_message_builder
(self, fake_message_builder: Mock)
tests/sentry/relocation/tasks/test_process.py:219
↓ 67 callersFunctionparse_qs
Like urlparse.parse_qs but transform list values to single items
src/social_auth/utils.py:157
↓ 67 callersFunctionrenderHook
(selectedRepo?: Parameters<typeof useScmRepos>[1])
static/app/components/onboarding/scm/useScmRepos.spec.tsx:16
↓ 66 callersFunctionassert_failure_metric
(mock_record, error_msg)
src/sentry/testutils/asserts.py:100
↓ 66 callersMethodauthenticate
( self, request: HttpRequest | None, username: str | None = None, password: st
src/sentry/utils/auth.py:486
↓ 66 callersMethodbuild
(index: int)
tests/sentry/investigations/endpoints/serializers/test_investigation.py:244
↓ 66 callersMethodgetState
* Returns the current state represented within the store
static/app/stores/types.tsx:13
↓ 66 callersMethodjoin
(self, timeout: float | None = None)
src/sentry/sentry_metrics/consumers/indexer/parallel.py:77
↓ 66 callersMethodpipeline
Pipeline
src/social_auth/backends/__init__.py:120
↓ 66 callersMethodupdate
(self, *args: Any, **kwargs: Any)
src/sentry/models/apitoken.py:312
↓ 65 callersMethodassert_org_member_mapping
(self, org_member: OrganizationMember, expected=None)
src/sentry/testutils/hybrid_cloud.py:33
↓ 65 callersMethoddebug
(self, msg: str, *args: Any, **kwargs: Any)
src/sentry/workflow_engine/utils/log_context.py:52
↓ 65 callersFunctionfresh_deadline
A live claim deadline for drains invoked directly, without a dispatcher.
tests/sentry/hybridcloud/tasks/test_deliver_webhooks.py:913
↓ 65 callersMethodis_valid
(self)
src/sentry/ingest/transaction_clusterer/rule_validator.py:12
↓ 65 callersMethodrecord_failure
Record that the event halted in failure. Additional data may be passed to be logged. Calling it means that the feature is broken and
src/sentry/integrations/utils/metrics.py:244
↓ 64 callersMethodcontains
(vec: vec2)
static/app/utils/profiling/speedscope.tsx:160
↓ 64 callersMethodget_installation
(self, organization_id: int, **kwargs: Any)
src/sentry/integrations/models/integration.py:70
↓ 64 callersMethodput
(self, request)
tests/sentry/api/helpers/test_deprecation.py:48
↓ 64 callersFunctionset_span_data
Sets an attribute on a span if the streaming trace lifecycle is enabled. Otherwise, sets data on the span.
src/sentry/utils/tracing.py:163
↓ 63 callersFunctionto_valid_int_id
Convert a string or integer to a valid integer id. Raises a ValidationError if the value is not a valid integer id. If raise_404 is True,
src/sentry/api/utils.py:540
↓ 62 callersFunctionassert_success_metric
(mock_record)
src/sentry/testutils/asserts.py:110
↓ 62 callersMethoddo_request
(self, query, features=None)
tests/snuba/api/endpoints/test_organization_events_span_metrics.py:37
↓ 62 callersFunctionget_uptime_subscription
Given a detector get the matching uptime subscription
src/sentry/uptime/models.py:278
↓ 62 callersFunctionmake_signed_seer_api_request
Use metrics_endpoint as a low-cardinality endpoint tag when the request path varies.
src/sentry/seer/signed_seer_api.py:144
↓ 62 callersFunctionsetApiQueryData
( queryClient: QueryClient, queryKey: ApiQueryKey, updater: Updater<TResponseData | undefined, TResponse
static/app/utils/queryClient.tsx:121
↓ 62 callersMethodstore_performance_metric
( self, name: str, tags: dict[str, str], value: int | float | dict[str, int |
src/sentry/testutils/cases.py:1771
↓ 61 callersMethod_do_request
(self, data, url=None, features=None)
tests/snuba/api/endpoints/test_organization_events_stats_span_indexed.py:30
↓ 61 callersMethodcreate_file
(self, **kwargs)
src/sentry/testutils/fixtures.py:473
↓ 61 callersFunctiondrf_request_from_request
(request: HttpRequest)
src/sentry/testutils/requests.py:70
↓ 61 callersMethodecho
( self, text: str, *, err: bool = False, color: bool | None = None,
src/sentry/runner/commands/backup.py:140
↓ 61 callersFunctiongetFieldDefinition
( key: string, type: GetFieldDefinitionType = 'event', kind?: FieldKind )
static/app/utils/fields/index.ts:3924
↓ 61 callersFunctiongetUtcDateString
(dateObj: moment.MomentInput)
static/app/utils/dates.tsx:35
↓ 61 callersMethodrun_table_query
timestamp_precise is always displayed in the UI in lieu of timestamp but since the TraceItem table isn't a DateTime64 so we need to always ord
src/sentry/snuba/ourlogs.py:27
↓ 61 callersFunctionvalidate_component
In order to test individual components, that aren't normally allowed at the top-level of a schema, we just plop all `definitions` into `prope
src/sentry/sentry_apps/api/parsers/schema.py:204
↓ 60 callersMethod_assert_is_successful
(self, response)
tests/sentry/preprod/api/endpoints/test_builds.py:33
↓ 60 callersMethodcreate_eap_occurrence
( self, *, organization: Organization | None = None, project: Project | None =
src/sentry/testutils/cases.py:3554
↓ 60 callersFunctionget_series
Get time series for the given query
src/sentry/snuba/metrics/datasource.py:588
↓ 60 callersMethodjson
(self)
tests/sentry/replays/endpoints/test_project_replay_summary.py:21
↓ 60 callersFunctiononUpdate
()
static/app/views/alerts/rules/crons/details.tsx:77
↓ 60 callersFunctionserialize_rpc_user
(user: User)
src/sentry/users/services/user/serial.py:66
↓ 60 callersMethodtoString
()
static/app/components/searchSyntax/mutableSearch.tsx:873
↓ 60 callersFunctionunguarded_write
Used to indicate that the wrapped block is safe to do mutations on outbox backed records. In production this context manager has no effe
src/sentry/silo/safety.py:25
↓ 59 callersMethodcreate_internal_integration
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:508
↓ 59 callersFunctionraw_snql_query
Alias for `bulk_snuba_queries`, kept for backwards compatibility.
src/sentry/utils/snuba.py:1069
↓ 59 callersMethodrequestPromise
* Initiate a request to the backend API. * * @deprecated Use `useApiQuery` or `useMutation` with `fetchDataQuery` and `fetchMutation` instead.
static/app/api.tsx:624
← previousnext →301–400 of 89,517, ranked by callers