MCPcopy Create free account

hub / github.com/getsentry/sentry / functions

Functions89,517 in github.com/getsentry/sentry

↓ 12,800 callersMethodget
(key: K)
static/app/stores/configStore.tsx:9
↓ 6,118 callersMethodfilter
Return an iterator that's filtered by which flags are set on a key.
src/sentry/options/manager.py:506
↓ 4,459 callersFunctiont
(hour: int, minute: int)
tests/sentry/monitors/test_schedule.py:8
↓ 3,997 callersMethodcreate
Creates an empty meta data entry corresponding to the current path. This recursively creates the entire parent tree.
src/sentry/utils/meta.py:71
↓ 3,517 callersMethodlogin_as
( self, user, organization_id=None, organization_ids=None, superuser=F
src/sentry/testutils/cases.py:318
↓ 2,579 callersMethodcreate_project
(self, **kwargs)
src/sentry/testutils/fixtures.py:262
↓ 2,532 callersMethodget_success_response
This isn't in APITestCase so this isn't really an override.
tests/sentry/integrations/slack/test_link_team.py:56
↓ 2,509 callersMethodcreate_user
(cls, *args, **kwargs)
src/social_auth/models.py:114
↓ 2,198 callersMethodfeature
>>> with self.feature({'feature:name': True}) >>> # ...
src/sentry/testutils/cases.py:253
↓ 2,036 callersMethodcreate_organization
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:185
↓ 2,035 callersMethodappend
* Appends a message to be displayed in list of indicators * * @param message Toast message to be displayed * @param type One of ['error', 'su
static/app/stores/indicatorStore.tsx:43
↓ 1,952 callersFunctionlist
List configuration options.
src/sentry/runner/commands/config.py:15
↓ 1,886 callersMethodsave
(params: LooseParamsType, data: IssueListCache)
static/app/stores/IssueListCacheStore.tsx:43
↓ 1,835 callersMethodexists
( data: Any, model: type[models.base.BaseModel], key: str, value: Any | None = None )
tests/sentry/backup/test_exports.py:115
↓ 1,696 callersFunctionreverse
(result: dict[str, Any], **kwargs: Any)
tests/sentry/apidocs/test_omission_guard.py:112
↓ 1,631 callersFunctionuseOrganization
({allowNull = false}: Options = {})
static/app/utils/useOrganization.tsx:22
↓ 1,607 callersMethodupdate
(self, *args: Any, **kwds: Any)
src/sentry/users/models/user.py:243
↓ 1,592 callersMethodadd
* When this method is called directly via older parts of the application, * we want to maintain the old behavior in that it is replaced (and not qu
static/app/stores/indicatorStore.tsx:21
↓ 1,438 callersFunctionset
( key: str, value: str | int, instance: str | None = None, tags: Tags | None = None, sampl
src/sentry/utils/metrics.py:190
↓ 1,416 callersFunctionrender
* Try avoiding unnecessary context and just mount your component. If it works, * then you dont need anything else. * * render(<TestedComponent />);
tests/js/sentry-test/reactTestingLibrary.tsx:342
↓ 1,333 callersMethodcreate_member
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:227
↓ 1,294 callersMethodrefresh_from_db
(self, *args, **kwargs)
src/sentry/models/organizationmember.py:259
↓ 1,277 callersFunctionbefore_now
(**kwargs: float)
src/sentry/testutils/helpers/datetime.py:10
↓ 1,259 callersMethodcreate_group
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:416
↓ 1,253 callersMethodget_error_response
( self, data: Mapping[str, Any] | None = None, status_code: int = status.HTTP_404_NOT_
tests/sentry/integrations/slack/test_link_team.py:67
↓ 1,152 callersFunctionassume_test_silo_mode
Potential swap the silo mode in a test class or factory, useful for creating multi SiloMode models and executing test code in a special silo conte
src/sentry/testutils/silo.py:358
↓ 1,127 callersMethodstore_event
(self, data: dict[str, Any], project_id: int, **kwargs: Any)
tests/sentry/issues/test_utils.py:110
↓ 1,111 callersFunctionpatch
Applies to the DB the option values found in the config file. Only the options present in the file are updated. No deletions are performe
src/sentry/runner/commands/configoptions.py:249
↓ 1,110 callersMethodreplace
({ chartType, visible, yAxis, }: { chartType?: ChartType; internalExpression?: string;
static/app/views/explore/queryParams/visualize.ts:102
↓ 1,099 callersMethodpost
Autoschema Description Extended Lines
tests/sentry/apidocs/test_schema.py:52
↓ 1,049 callersMethoddumps
(self, value)
src/sentry/similarity/encoder.py:10
↓ 1,017 callersFunctionserialize
( objects: Any, user: _User = ..., serializer: None = ..., **kwargs: Any, )
src/sentry/api/serializers/base.py:56
↓ 1,015 callersMethodaddMockResponse
(response: Partial<ResponseType>)
static/app/__mocks__/api.tsx:142
↓ 1,010 callersMethodtasks
(self)
tests/sentry/deletions/test_workflow.py:17
↓ 989 callersMethodhas
(self, name: str)
src/sentry/utils/prompts.py:53
↓ 967 callersMethodnow
(self)
tests/sentry/snuba/metrics/test_datasource.py:24
↓ 960 callersMethodset
(key: K, value: Config[K])
static/app/stores/configStore.tsx:11
↓ 925 callersMethodjoin
(self, timeout: float | None = None)
src/sentry/utils/arroyo.py:279
↓ 909 callersMethodfind
(predicate: (node: StoryTreeNode) => boolean)
static/app/stories/view/storyTree.tsx:51
↓ 893 callersFunctionOrganizationFixture
(params: Partial<Organization> = {})
tests/js/fixtures/organization.ts:6
↓ 892 callersMethodcreate_team
(self, organization=None, **kwargs)
src/sentry/testutils/fixtures.py:251
↓ 880 callersMethodpush
(token: Token)
static/app/components/arithmeticBuilder/validator.tsx:116
↓ 848 callersMethodcount
(data: Any, model: type[models.base.BaseModel])
tests/sentry/backup/test_exports.py:111
↓ 833 callersMethodis_valid
(self)
src/sentry/auth/helper.py:1059
↓ 823 callersMethodclick
(self, selector=None, xpath=None)
src/sentry/testutils/pytest/selenium.py:178
↓ 792 callersMethodinfo
(self, filename: str)
src/sentry/models/releasefile.py:174
↓ 778 callersMethodnow
(self)
src/sentry/testutils/cases.py:2146
↓ 768 callersMethodfn
( query_columns: list[str], query: str, snuba_params: SnubaPar
src/sentry/api/endpoints/organization_events_stats.py:373
↓ 740 callersMethodsplit
()
static/app/components/arithmeticBuilder/token/index.tsx:153
↓ 708 callersMethoditems
(self)
src/sentry/utils/local_cache.py:18
↓ 697 callersMethodincr
Increment project ID=1: >>> incr(TimeSeriesModel.project, 1)
src/sentry/tsdb/base.py:331
↓ 625 callersMethoddb_for_write
(self, model, **hints)
src/sentry/db/router.py:222
↓ 619 callersMethodpatch
(self, request)
tests/sentry/api/helpers/test_deprecation.py:52
↓ 602 callersMethodvalues_list
( self, *fields: Any, flat: bool = False, named: bool = False )
src/sentry/db/models/manager/base_query_set.py:116
↓ 590 callersMethodupdate_option
Updates a project option for this project.
src/sentry/models/project.py:449
↓ 588 callersMethoddelete
(self, key)
tests/sentry/attachments/test_base.py:30
↓ 582 callersFunctiondefined
(item: T)
static/app/utils/defined.tsx:1
↓ 579 callersMethodpop
(self, key: K)
src/sentry/utils/local_cache.py:15
↓ 573 callersMethodall
Returns a list of cached instances.
src/sentry/utils/managers.py:29
↓ 568 callersFunctiongetApiUrl
( path: TApiPath, ...[options]: OptionalPathParams<TApiPath> )
static/app/utils/api/getApiUrl.ts:34
↓ 565 callersMethodclearMockResponses
()
static/app/__mocks__/api.tsx:111
↓ 550 callersMethodencode
(self, value: TDecoded)
src/sentry/utils/codecs.py:22
↓ 544 callersFunctionuseLocation
()
static/app/utils/useLocation.tsx:10
↓ 539 callersMethoddecode
(self, value: TEncoded)
src/sentry/utils/codecs.py:26
↓ 526 callersMethodvalues
(self)
src/bitfield/models.py:51
↓ 510 callersMethodforEach
( openFrame: (node: CallTreeNode, value: number) => void, closeFrame: (node: CallTreeNode, value: numb
static/app/utils/profiling/profile/profile.tsx:109
↓ 456 callersMethodatomic
(*args, **kwds)
tests/sentry/event_manager/grouping/test_group_creation_lock.py:18
↓ 439 callersMethodcreate_integration
Create an integration and add an organization.
src/sentry/testutils/fixtures.py:705
↓ 414 callersFunctionoverride_options
A context manager for overriding specific configuration Options.
src/sentry/testutils/helpers/options.py:12
↓ 409 callersFunctiondatetime
({end = null, period}: {period: string | null; end?: string | null})
static/app/views/explore/metrics/ingestionDelay.spec.ts:3
↓ 406 callersMethodtimestamp
(d)
tests/sentry/tsdb/test_redis.py:83
↓ 404 callersFunctionaddErrorMessage
(msg: React.ReactNode, options?: IndicatorOptions)
static/app/actionCreators/indicator.tsx:91
↓ 394 callersMethodput
Autoschema Description
tests/sentry/apidocs/test_schema.py:58
↓ 390 callersMethodjson
(self)
tests/sentry/feedback/__init__.py:58
↓ 390 callersFunctiontype
( input: HTMLElement, text: string, {user}: Required<UserEventOptions> )
tests/js/sentry-test/selectEvent.tsx:57
↓ 380 callersFunctionuseNavigate
()
static/app/utils/useNavigate.tsx:25
↓ 376 callersMethodcreate_repo
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:341
↓ 373 callersMethodcreate_preprod_artifact
(self, project: Project | None = None, **kwargs)
src/sentry/testutils/fixtures.py:1053
↓ 372 callersMethodcreate_span
Create span json, not required for store_span, but with no params passed should just work out of the box
src/sentry/testutils/cases.py:3312
↓ 368 callersMethodstore_event
(self, data, measurements=None, **kwargs)
tests/snuba/api/endpoints/test_organization_events_vitals.py:27
↓ 362 callersFunctionoutbox_runner
A context manager that, upon *successful exit*, executes all pending outbox jobs that are scheduled for the current time, synchronously. Exc
src/sentry/testutils/outbox.py:31
↓ 361 callersMethodcreate_detector
( self, project: Project | None = None, type: str | None = ErrorGroupType.slug,
src/sentry/testutils/fixtures.py:839
↓ 360 callersMethodstore_spans
(self, spans)
src/sentry/testutils/cases.py:1149
↓ 357 callersFunctionProjectFixture
(params: Partial<Project> = {})
tests/js/fixtures/project.ts:5
↓ 356 callersMethodsort
(predicate: (a: [string, StoryTreeNode], b: [string, StoryTreeNode]) => number)
static/app/stories/view/storyTree.tsx:60
↓ 354 callersMethodget_option
(self, key: str, default: str | None = None)
src/sentry/rules/base.py:77
↓ 350 callersMethodextend
Insert all values from another map into this one, without mutating the original map.
src/sentry/backup/dependencies.py:319
↓ 344 callersMethodhexdigest
(self)
src/sentry/spans/grouping/utils.py:26
↓ 340 callersMethodkeys
(self)
src/bitfield/types.py:219
↓ 335 callersMethodtrim
Similar to zerofill, but removes keys that should not exist. Uses the non-flattened version of keys, so that different sets o
src/sentry/tsdb/snuba.py:664
↓ 327 callersMethodentries
Get the locally cached files for the bucket.
src/sentry/services/filestore/s3.py:365
↓ 325 callersMethodcreate_release
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:304
↓ 322 callersMethodoptions
A context manager that temporarily sets a global option and reverts back to the original value when exiting the context.
src/sentry/testutils/cases.py:413
↓ 320 callersMethodmax
()
static/app/utils/number/rangeMap.tsx:66
↓ 319 callersFunctionload_data
( platform: str, default: str | None = None, sample_name: str | None = None, timestamp=None,
src/sentry/utils/samples.py:108
↓ 311 callersMethodclear
* Remove all current indicators.
static/app/stores/indicatorStore.tsx:51
↓ 306 callersMethoddict
(self, **kwargs: Any)
src/sentry/seer/sentry_data_models.py:726
↓ 299 callersMethodadd_project
Add a project to this release. Returns True if the project was added and did not already exist.
src/sentry/models/release.py:612
↓ 299 callersMethodget_or_create
(cls, project, version, date_added=None, *, create=True)
src/sentry/models/release.py:458
↓ 294 callersMethodget_event_id
(self, name: str)
src/sentry/audit_log/manager.py:107
next →1–100 of 89,517, ranked by callers