Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/getsentry/sentry
/ functions
Functions
89,517 in github.com/getsentry/sentry
⨍
Functions
89,517
◇
Types & classes
18,706
↳
Endpoints
6,223
↓ 12,800 callers
Method
get
(key: K)
static/app/stores/configStore.tsx:9
↓ 6,118 callers
Method
filter
Return an iterator that's filtered by which flags are set on a key.
src/sentry/options/manager.py:506
↓ 4,459 callers
Function
t
(hour: int, minute: int)
tests/sentry/monitors/test_schedule.py:8
↓ 3,997 callers
Method
create
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 callers
Method
login_as
( self, user, organization_id=None, organization_ids=None, superuser=F
src/sentry/testutils/cases.py:318
↓ 2,579 callers
Method
create_project
(self, **kwargs)
src/sentry/testutils/fixtures.py:262
↓ 2,532 callers
Method
get_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 callers
Method
create_user
(cls, *args, **kwargs)
src/social_auth/models.py:114
↓ 2,198 callers
Method
feature
>>> with self.feature({'feature:name': True}) >>> # ...
src/sentry/testutils/cases.py:253
↓ 2,036 callers
Method
create_organization
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:185
↓ 2,035 callers
Method
append
* 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 callers
Function
list
List configuration options.
src/sentry/runner/commands/config.py:15
↓ 1,886 callers
Method
save
(params: LooseParamsType, data: IssueListCache)
static/app/stores/IssueListCacheStore.tsx:43
↓ 1,835 callers
Method
exists
( data: Any, model: type[models.base.BaseModel], key: str, value: Any | None = None )
tests/sentry/backup/test_exports.py:115
↓ 1,696 callers
Function
reverse
(result: dict[str, Any], **kwargs: Any)
tests/sentry/apidocs/test_omission_guard.py:112
↓ 1,631 callers
Function
useOrganization
({allowNull = false}: Options = {})
static/app/utils/useOrganization.tsx:22
↓ 1,607 callers
Method
update
(self, *args: Any, **kwds: Any)
src/sentry/users/models/user.py:243
↓ 1,592 callers
Method
add
* 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 callers
Function
set
( key: str, value: str | int, instance: str | None = None, tags: Tags | None = None, sampl
src/sentry/utils/metrics.py:190
↓ 1,416 callers
Function
render
* 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 callers
Method
create_member
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:227
↓ 1,294 callers
Method
refresh_from_db
(self, *args, **kwargs)
src/sentry/models/organizationmember.py:259
↓ 1,277 callers
Function
before_now
(**kwargs: float)
src/sentry/testutils/helpers/datetime.py:10
↓ 1,259 callers
Method
create_group
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:416
↓ 1,253 callers
Method
get_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 callers
Function
assume_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 callers
Method
store_event
(self, data: dict[str, Any], project_id: int, **kwargs: Any)
tests/sentry/issues/test_utils.py:110
↓ 1,111 callers
Function
patch
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 callers
Method
replace
({ chartType, visible, yAxis, }: { chartType?: ChartType; internalExpression?: string;
static/app/views/explore/queryParams/visualize.ts:102
↓ 1,099 callers
Method
post
Autoschema Description Extended Lines
tests/sentry/apidocs/test_schema.py:52
↓ 1,049 callers
Method
dumps
(self, value)
src/sentry/similarity/encoder.py:10
↓ 1,017 callers
Function
serialize
( objects: Any, user: _User = ..., serializer: None = ..., **kwargs: Any, )
src/sentry/api/serializers/base.py:56
↓ 1,015 callers
Method
addMockResponse
(response: Partial<ResponseType>)
static/app/__mocks__/api.tsx:142
↓ 1,010 callers
Method
tasks
(self)
tests/sentry/deletions/test_workflow.py:17
↓ 989 callers
Method
has
(self, name: str)
src/sentry/utils/prompts.py:53
↓ 967 callers
Method
now
(self)
tests/sentry/snuba/metrics/test_datasource.py:24
↓ 960 callers
Method
set
(key: K, value: Config[K])
static/app/stores/configStore.tsx:11
↓ 925 callers
Method
join
(self, timeout: float | None = None)
src/sentry/utils/arroyo.py:279
↓ 909 callers
Method
find
(predicate: (node: StoryTreeNode) => boolean)
static/app/stories/view/storyTree.tsx:51
↓ 893 callers
Function
OrganizationFixture
(params: Partial<Organization> = {})
tests/js/fixtures/organization.ts:6
↓ 892 callers
Method
create_team
(self, organization=None, **kwargs)
src/sentry/testutils/fixtures.py:251
↓ 880 callers
Method
push
(token: Token)
static/app/components/arithmeticBuilder/validator.tsx:116
↓ 848 callers
Method
count
(data: Any, model: type[models.base.BaseModel])
tests/sentry/backup/test_exports.py:111
↓ 833 callers
Method
is_valid
(self)
src/sentry/auth/helper.py:1059
↓ 823 callers
Method
click
(self, selector=None, xpath=None)
src/sentry/testutils/pytest/selenium.py:178
↓ 792 callers
Method
info
(self, filename: str)
src/sentry/models/releasefile.py:174
↓ 778 callers
Method
now
(self)
src/sentry/testutils/cases.py:2146
↓ 768 callers
Method
fn
( query_columns: list[str], query: str, snuba_params: SnubaPar
src/sentry/api/endpoints/organization_events_stats.py:373
↓ 740 callers
Method
split
()
static/app/components/arithmeticBuilder/token/index.tsx:153
↓ 708 callers
Method
items
(self)
src/sentry/utils/local_cache.py:18
↓ 697 callers
Method
incr
Increment project ID=1: >>> incr(TimeSeriesModel.project, 1)
src/sentry/tsdb/base.py:331
↓ 625 callers
Method
db_for_write
(self, model, **hints)
src/sentry/db/router.py:222
↓ 619 callers
Method
patch
(self, request)
tests/sentry/api/helpers/test_deprecation.py:52
↓ 602 callers
Method
values_list
( self, *fields: Any, flat: bool = False, named: bool = False )
src/sentry/db/models/manager/base_query_set.py:116
↓ 590 callers
Method
update_option
Updates a project option for this project.
src/sentry/models/project.py:449
↓ 588 callers
Method
delete
(self, key)
tests/sentry/attachments/test_base.py:30
↓ 582 callers
Function
defined
(item: T)
static/app/utils/defined.tsx:1
↓ 579 callers
Method
pop
(self, key: K)
src/sentry/utils/local_cache.py:15
↓ 573 callers
Method
all
Returns a list of cached instances.
src/sentry/utils/managers.py:29
↓ 568 callers
Function
getApiUrl
( path: TApiPath, ...[options]: OptionalPathParams<TApiPath> )
static/app/utils/api/getApiUrl.ts:34
↓ 565 callers
Method
clearMockResponses
()
static/app/__mocks__/api.tsx:111
↓ 550 callers
Method
encode
(self, value: TDecoded)
src/sentry/utils/codecs.py:22
↓ 544 callers
Function
useLocation
()
static/app/utils/useLocation.tsx:10
↓ 539 callers
Method
decode
(self, value: TEncoded)
src/sentry/utils/codecs.py:26
↓ 526 callers
Method
values
(self)
src/bitfield/models.py:51
↓ 510 callers
Method
forEach
( openFrame: (node: CallTreeNode, value: number) => void, closeFrame: (node: CallTreeNode, value: numb
static/app/utils/profiling/profile/profile.tsx:109
↓ 456 callers
Method
atomic
(*args, **kwds)
tests/sentry/event_manager/grouping/test_group_creation_lock.py:18
↓ 439 callers
Method
create_integration
Create an integration and add an organization.
src/sentry/testutils/fixtures.py:705
↓ 414 callers
Function
override_options
A context manager for overriding specific configuration Options.
src/sentry/testutils/helpers/options.py:12
↓ 409 callers
Function
datetime
({end = null, period}: {period: string | null; end?: string | null})
static/app/views/explore/metrics/ingestionDelay.spec.ts:3
↓ 406 callers
Method
timestamp
(d)
tests/sentry/tsdb/test_redis.py:83
↓ 404 callers
Function
addErrorMessage
(msg: React.ReactNode, options?: IndicatorOptions)
static/app/actionCreators/indicator.tsx:91
↓ 394 callers
Method
put
Autoschema Description
tests/sentry/apidocs/test_schema.py:58
↓ 390 callers
Method
json
(self)
tests/sentry/feedback/__init__.py:58
↓ 390 callers
Function
type
( input: HTMLElement, text: string, {user}: Required<UserEventOptions> )
tests/js/sentry-test/selectEvent.tsx:57
↓ 380 callers
Function
useNavigate
()
static/app/utils/useNavigate.tsx:25
↓ 376 callers
Method
create_repo
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:341
↓ 373 callers
Method
create_preprod_artifact
(self, project: Project | None = None, **kwargs)
src/sentry/testutils/fixtures.py:1053
↓ 372 callers
Method
create_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 callers
Method
store_event
(self, data, measurements=None, **kwargs)
tests/snuba/api/endpoints/test_organization_events_vitals.py:27
↓ 362 callers
Function
outbox_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 callers
Method
create_detector
( self, project: Project | None = None, type: str | None = ErrorGroupType.slug,
src/sentry/testutils/fixtures.py:839
↓ 360 callers
Method
store_spans
(self, spans)
src/sentry/testutils/cases.py:1149
↓ 357 callers
Function
ProjectFixture
(params: Partial<Project> = {})
tests/js/fixtures/project.ts:5
↓ 356 callers
Method
sort
(predicate: (a: [string, StoryTreeNode], b: [string, StoryTreeNode]) => number)
static/app/stories/view/storyTree.tsx:60
↓ 354 callers
Method
get_option
(self, key: str, default: str | None = None)
src/sentry/rules/base.py:77
↓ 350 callers
Method
extend
Insert all values from another map into this one, without mutating the original map.
src/sentry/backup/dependencies.py:319
↓ 344 callers
Method
hexdigest
(self)
src/sentry/spans/grouping/utils.py:26
↓ 340 callers
Method
keys
(self)
src/bitfield/types.py:219
↓ 335 callers
Method
trim
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 callers
Method
entries
Get the locally cached files for the bucket.
src/sentry/services/filestore/s3.py:365
↓ 325 callers
Method
create_release
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:304
↓ 322 callers
Method
options
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 callers
Method
max
()
static/app/utils/number/rangeMap.tsx:66
↓ 319 callers
Function
load_data
( platform: str, default: str | None = None, sample_name: str | None = None, timestamp=None,
src/sentry/utils/samples.py:108
↓ 311 callers
Method
clear
* Remove all current indicators.
static/app/stores/indicatorStore.tsx:51
↓ 306 callers
Method
dict
(self, **kwargs: Any)
src/sentry/seer/sentry_data_models.py:726
↓ 299 callers
Method
add_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 callers
Method
get_or_create
(cls, project, version, date_added=None, *, create=True)
src/sentry/models/release.py:458
↓ 294 callers
Method
get_event_id
(self, name: str)
src/sentry/audit_log/manager.py:107
next →
1–100 of 89,517, ranked by callers