MCPcopy Create free account

hub / github.com/getsentry/sentry / functions

Functions89,517 in github.com/getsentry/sentry

↓ 39 callersMethodget_status
(self)
src/sentry/models/group.py:1071
↓ 39 callersMethodhandle
(obj: Any, request: Request, *args: Any, **kwargs: Any)
src/sentry/api/base.py:784
↓ 39 callersMethodhas_permission
Return bool representing if the user has the given permission. >>> access.has_permission('broadcasts.admin')
src/sentry/auth/access.py:121
↓ 39 callersFunctionis_active_staff
(request: HttpRequest | Request)
src/sentry/auth/staff.py:51
↓ 39 callersFunctionmigrate_alert_rule
( alert_rule: AlertRule, user: RpcUser | None = None, )
src/sentry/workflow_engine/migration_helpers/alert_rule.py:575
↓ 39 callersMethodpush
(mri: str, tags, value)
src/sentry/testutils/cases.py:1498
↓ 39 callersMethodsubmit
(self, fn: Callable[..., T], *args: Any, **kwargs: Any)
tests/sentry/monitors/consumers/test_clock_tasks_consumer.py:322
↓ 39 callersMethodtick
Process the next batch. Call this from your beat task. Acquires a lock to prevent overlapping ticks, fetches the next batch
src/sentry/utils/cursored_scheduler.py:207
↓ 39 callersFunctiontrack_outcome
This is a central point to track org/project counters per incoming event. NB: This should only ever be called once per incoming event, which
src/sentry/utils/outcomes.py:188
↓ 38 callersFunctionWidgetFixture
(params: Partial<Widget> = {})
tests/js/fixtures/widget.ts:6
↓ 38 callersMethod_state
( self, *, status: Literal["processing", "completed", "error", "awaiting_user_input"]
tests/sentry/tasks/seer/test_pr_iteration.py:844
↓ 38 callersMethodcreate_api_key
(self, organization: Organization, **kwds)
tests/sentry/auth/test_access.py:77
↓ 38 callersMethodcreate_data_forwarder
(self, organization=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:476
↓ 38 callersFunctioncreate_frame_info
Factory function to create the appropriate FrameInfo instance.
src/sentry/issues/auto_source_code_config/frame_info.py:30
↓ 38 callersMethodcreate_preprod_snapshot_metrics
( self, preprod_artifact: PreprodArtifact, **kwargs )
src/sentry/testutils/fixtures.py:1086
↓ 38 callersMethodcreate_useremail
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:378
↓ 38 callersMethodfetch_state
(self, key: str | None = None)
src/sentry/pipeline/base.py:276
↓ 38 callersFunctionformat_status_check_messages
Args: artifacts: List of PreprodArtifact objects size_metrics_map: Dict mapping artifact_id to list of PreprodArtifactSizeMetrics
src/sentry/preprod/vcs/status_checks/size/templates.py:33
↓ 38 callersFunctiongetPlanCategoryName
({ plan, category, hadCustomDynamicSampling = false, capitalize = true, title = false, }: CategoryNa
static/gsApp/utils/dataCategory.tsx:62
↓ 38 callersFunctionpatch_configuration
Patch the given targets, each with the given return value. Pass ``DEFAULT`` as the return value to patch a target without one. The yielded mo
tests/sentry/dynamic_sampling/per_org/test_helpers.py:29
↓ 38 callersFunctionsetFieldErrors
(formApi: TForm, errors: FieldErrors<InferFormData<TForm>>)
static/app/components/core/form/scrapsForm.tsx:182
↓ 38 callersMethodstart_run
Start a new Seer Agent session. Args: prompt: The initial task/query for the agent on_page_context: Optional
src/sentry/seer/agent/client.py:383
↓ 38 callersMethodupdate
(self, **kwargs: Any)
src/sentry/db/models/manager/base_query_set.py:83
↓ 38 callersMethodupdate_organization_integration
Returns an RpcOrganizationIntegration after updating the fields provided. To set a field as null, use the `set_{FIELD}_null` keyword
src/sentry/integrations/services/integration/service.py:248
↓ 38 callersFunctionuseMaxPickableDays
({ dataCategories, }: UseMaxPickableDaysProps)
static/app/utils/useMaxPickableDays.tsx:49
↓ 38 callersFunctionuseReplayReader
()
static/app/utils/replays/playback/providers/replayReaderProvider.tsx:24
↓ 37 callersMethodadd_callback
Callback should take a request object and return a dict of key-value pairs to add to the context.
src/sentry/web/frontend/auth_login.py:66
↓ 37 callersFunctionassemble_download
( data_export_id: int, export_limit: int | None = EXPORTED_ROWS_LIMIT, batch_size: int = SNUBA_MAX
src/sentry/data_export/tasks.py:330
↓ 37 callersMethodcallback
(info: LeakyBucketLimitInfo, context: dict[str, Any])
tests/sentry/ratelimits/test_leaky_bucket.py:106
↓ 37 callersMethoddeliver
(self, event: dict[str, Any])
tests/sentry/investigations/services/test_orchestration_events.py:220
↓ 37 callersFunctionfloor_to_utc_day
Floors a given datetime to UTC midnight.
src/sentry/utils/dates.py:87
↓ 37 callersFunctionin_test_environment
()
src/sentry/utils/env.py:12
↓ 37 callersMethodmake_post
(self, data=None, **kwargs)
tests/sentry/integrations/api/endpoints/test_organization_code_mappings_bulk.py:37
↓ 37 callersMethodnow
(self)
tests/sentry/explore/translation/test_dashboards_translation.py:27
↓ 37 callersMethodprocess_results
(self, results: Any)
src/sentry/search/events/builder/base.py:1572
↓ 37 callersFunctionround
(value: number)
static/gsAdmin/views/dynamicSamplingPanel.tsx:335
↓ 37 callersFunctionrun_night_shift_for_org
Run night shift for one organization. `options` is a partial dict — any missing fields are filled in by build_run_options. Cron dispatches wit
src/sentry/tasks/seer/night_shift/cron.py:259
↓ 37 callersFunctionschedule_webhook_delivery
Find mailboxes that contain undelivered webhooks that were scheduled to be delivered now or in the past. Prioritizes webhooks based on p
src/sentry/hybridcloud/tasks/deliver_webhooks.py:770
↓ 37 callersFunctiontoTitleCase
(str: string, opts?: TitleCaseOptions)
static/app/utils/string/toTitleCase.tsx:9
↓ 37 callersFunctionto_datetime
(value: None)
src/sentry/utils/dates.py:62
↓ 36 callersMethod_call
( self, *, action: str = "opened", login: str = "a-human", user_id: in
tests/sentry/pr_metrics/test_webhooks.py:2423
↓ 36 callersMethod_make_request
(self, data, artifact_id=None, authenticated=True)
tests/sentry/preprod/api/endpoints/test_project_preprod_artifact_update.py:31
↓ 36 callersMethod_run
( self, group: Group | None = None, trigger: str = STARTED.name, **extras: object )
tests/sentry/seer/smart_assignment/test_scoring.py:33
↓ 36 callersFunctionattribute_value
(span: Mapping[str, Any], key: str, *, default: Any | None = None)
src/sentry/spans/consumers/process_segments/types.py:40
↓ 36 callersFunctioncompare_size_analysis
( head_size_analysis: PreprodArtifactSizeMetrics, head_size_analysis_results: SizeAnalysisResults,
src/sentry/preprod/size_analysis/compare.py:38
↓ 36 callersFunctionconvert_dict_key_case
Recursively converts the keys of a dictionary using the provided converter param. Nested keys under ``additional_fields`` / ``additional
src/sentry/api/serializers/rest_framework/base.py:71
↓ 36 callersMethodcreate_delegation
Instantiate a base service class for the current mode.
src/sentry/hybridcloud/rpc/service.py:371
↓ 36 callersMethodget_assignee
(self)
src/sentry/models/group.py:1311
↓ 36 callersMethodget_blame_for_files
( self, files: Sequence[SourceLineInfo], extra: Mapping[str, Any] )
src/sentry/integrations/gitlab/client.py:730
↓ 36 callersMethodget_integration
(self)
tests/sentry/middleware/integrations/parsers/test_github.py:485
↓ 36 callersFunctionget_monitoring_provider_connections
Build monitoring-provider connections for Seer. Combines the user's personal provider identities with org-level integrations. Personal identi
src/sentry/seer/agent/monitoring_providers.py:144
↓ 36 callersMethodget_notification_uuid
(self, text: str)
src/sentry/testutils/cases.py:2855
↓ 36 callersFunctionget_viewer_context
Return the current ``ViewerContext``, or ``None`` if not set.
src/sentry/viewer_context.py:109
↓ 36 callersMethodprocess_occurrence
Testutil to build and process occurrence data instead of going through Kafka. This ensures the occurrence data is well-formed.
tests/sentry/issues/test_utils.py:74
↓ 36 callersFunctionprocess_segment
( unprocessed_spans: list[SpanEvent], skip_enrichment: bool = False, )
src/sentry/spans/consumers/process_segments/message.py:94
↓ 36 callersFunctionreplace
(d, key, val)
src/sentry/utils/snuba.py:1977
↓ 36 callersMethodstore_event_outcomes
( self, organization_id, project_id, timestamp, num_times, out
tests/sentry/tasks/test_weekly_reports.py:86
↓ 36 callersMethodtiming
( self, name: str, value: int | float, tags: Tags | None = None, stack
src/sentry/utils/arroyo.py:95
↓ 36 callersFunctionuniqueId
()
static/app/utils/guid.tsx:6
↓ 36 callersFunctionuseDataConditionNodeContext
()
static/app/views/automations/components/dataConditionNodes.tsx:110
↓ 35 callersFunctionOrganizationIntegrationsFixture
( params: Partial<OrganizationIntegration> = {} )
tests/js/fixtures/organizationIntegrations.ts:3
↓ 35 callersMethod_call
( self, action: str = "opened", webhook_id: str | None = "delivery-1", merged:
tests/sentry/pr_metrics/test_webhooks.py:977
↓ 35 callersMethod_get_url
(self)
tests/sentry/preprod/api/endpoints/test_project_preprod_check_for_updates.py:31
↓ 35 callersFunctionbuild_pr_metrics_row
Assemble the close/merge/abandoned analytics row. Every fact is read from the stored ``PullRequest`` / ``PullRequestMetrics`` rows, so the ju
src/sentry/pr_metrics/emit.py:795
↓ 35 callersFunctioncreate_encrypted_export_tarball
Generate a tarball with 3 files: 1. The DEK we minted, name "data.key". 2. The public key we used to encrypt that DEK, named "key.pu
src/sentry/backup/crypto.py:116
↓ 35 callersMethodcreate_group_event
( self, project: Project | None = None, event: Event | None = None, occurrence
tests/sentry/workflow_engine/test_base.py:337
↓ 35 callersFunctioncreate_snuba_subscription
Creates a subscription to a snuba query. :param project: The project we're applying the query to :param subscription_type: Text identifi
src/sentry/snuba/subscriptions.py:180
↓ 35 callersMethodcreate_workflow_data_condition_group
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:891
↓ 35 callersMethodexists
(self, key: str)
src/sentry/integrations/manager.py:34
↓ 35 callersFunctiongetDiscoverDeprecation
(organization: Organization)
static/app/views/discover/utils.tsx:938
↓ 35 callersFunctionget_array_column_alias
(array_column)
src/sentry/utils/snuba.py:2212
↓ 35 callersMethodget_original_message
(self, group_id)
tests/sentry/integrations/slack/webhooks/actions/test_status.py:72
↓ 35 callersMethodget_tag
(self, key: str)
src/sentry/services/eventstore/models.py:161
↓ 35 callersFunctionhasDatasetSelector
(_organization: Organization)
static/app/views/dashboards/utils.tsx:553
↓ 35 callersMethodinsert
( self, event: Event | GroupEvent, is_new: bool, is_regression: bool,
src/sentry/eventstream/base.py:103
↓ 35 callersFunctionisVisualizeEquation
( visualize: Visualize )
static/app/views/explore/queryParams/visualize.ts:204
↓ 35 callersMethodjoin
(self, timeout=None)
src/sentry/replays/_case_studies/INC_1184_consumer_backlog_from_increased_threads/report.py:48
↓ 35 callersMethodjson
(self)
tests/sentry/integrations/cursor_origin/test_keys.py:44
↓ 35 callersFunctionjson_string
(value: Any)
tests/sentry/ai_monitoring/test_message_normalizer.py:12
↓ 35 callersMethodlogin
(self, password: str = "password")
tests/sentry/api/endpoints/test_auth_integration.py:55
↓ 35 callersFunctionpublish_action
Record an issue action. Use this for shallow endpoint-level actions where the request is in scope (VIEW, COMMENT, TRIGGER_AUTOFIX). For
src/sentry/issues/action_log/publish.py:75
↓ 35 callersMethodraise_for_status
(self)
tests/sentry/integrations/cursor_origin/test_keys.py:41
↓ 35 callersMethodrender
(self, request: HttpRequest)
src/sentry/web/frontend/debug/mail.py:338
↓ 35 callersMethodreset
(selection?: PageFilters)
static/app/components/pageFilters/store.tsx:101
↓ 35 callersMethodrun_query
( self, referrer: str, use_cache: bool = False, query_source: QuerySource | No
src/sentry/search/events/builder/base.py:1562
↓ 35 callersFunctionset
Set a configuration option to a new value.
src/sentry/runner/commands/config.py:62
↓ 35 callersFunctionsign
Signs all passed kwargs and produces a base64 string which may be passed to unsign which will verify the string has not been tampered with.
src/sentry/utils/signing.py:15
↓ 35 callersMethodsync_assignee_outbound
( self, external_issue: ExternalIssue, user: RpcUser | None, assign: bool = Tr
src/sentry/integrations/vsts/issues.py:299
↓ 34 callersFunctionRepositoryFixture
(params: Partial<Repository> = {})
tests/js/fixtures/repository.ts:4
↓ 34 callersMethod_create_org_integrations
Create real OrganizationIntegration rows for testing.
tests/sentry/utils/test_cursored_scheduler.py:62
↓ 34 callersFunction_suite
( doc: ActivityDoc, *, conclusion: str = "success", head_sha: str = "sha1", app_slug: str
tests/sentry/pr_metrics/test_activity_doc.py:87
↓ 34 callersFunctionadvance
(ms: number)
static/app/utils/useHoverOverlay.timing.spec.tsx:94
↓ 34 callersFunctionas_log_message
Return an event as a log message. Useful in AI contexts where the event's structure is an impediment to the AI's understanding of the interac
src/sentry/replays/usecases/summarize.py:335
↓ 34 callersFunctionbuild_notification_actions_from_rule_data_actions
Builds notification actions from action field in Rule's data blob. Will only create actions that are valid, and log any errors. If is_dr
src/sentry/workflow_engine/migration_helpers/rule_action.py:111
↓ 34 callersFunctioncontains
Return true if any of the rows in the aggregation set match the condition.
src/sentry/replays/lib/new_query/utils.py:19
↓ 34 callersMethodcreate_commit_author
(self, name=None, email=None)
tests/sentry/utils/test_committers.py:36
↓ 34 callersFunctiondoes_not_contain
Return true if none of the rows in the aggregation set match the condition.
src/sentry/replays/lib/new_query/utils.py:26
↓ 34 callersMethodexport_to_tmp_file_and_clear_database
(self, tmp_dir)
tests/sentry/backup/test_imports.py:93
↓ 34 callersMethodfrom_event
(event: Event | GroupEvent)
src/sentry/utils/eventuser.py:118
↓ 34 callersMethodget_event_metadata
Return the metadata of this issue. See ``sentry.eventtypes``.
src/sentry/models/group.py:1257
← previousnext →601–700 of 89,517, ranked by callers