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
↓ 291 callers
Function
addSuccessMessage
( msg: React.ReactNode, options?: IndicatorOptions | UndoableIndicatorOptions )
static/app/actionCreators/indicator.tsx:111
↓ 284 callers
Method
values
(self)
src/sentry/utils/local_cache.py:17
↓ 281 callers
Function
Boolean
({token}: {token: TokenResult<Token.LOGIC_BOOLEAN>})
static/app/components/searchQueryBuilder/formattedQuery.tsx:81
↓ 275 callers
Method
make_request
(referrer)
tests/sentry/utils/test_snuba.py:747
↓ 274 callers
Function
open
(panel: OnboardingDrawerKey)
static/app/stores/onboardingDrawerStore.tsx:33
↓ 271 callers
Method
keys
(self)
src/sentry/utils/local_cache.py:16
↓ 271 callers
Function
useApi
({persistInFlight, api: providedApi}: Options = {})
static/app/utils/useApi.tsx:28
↓ 266 callers
Method
min
()
static/app/utils/number/rangeMap.tsx:62
↓ 264 callers
Method
items
(self)
tests/sentry/utils/kvstore/test_common.py:21
↓ 264 callers
Method
post
(self, request)
tests/sentry/api/helpers/test_deprecation.py:40
↓ 263 callers
Method
store_eap_items
(self, items: Sequence[TraceItem])
src/sentry/testutils/cases.py:1225
↓ 259 callers
Method
match
(self, context: EvaluationContext)
src/flagpole/__init__.py:133
↓ 259 callers
Method
query
(model: TSDBModel, key: int, **kwargs: Any)
tests/sentry/event_manager/test_event_manager.py:1585
↓ 259 callers
Method
reset
()
static/app/stores/tagStore.tsx:9
↓ 259 callers
Function
usePageFilters
()
static/app/components/pageFilters/usePageFilters.tsx:7
↓ 257 callers
Method
create_seer_run
(self, organization=None, **kwargs)
src/sentry/testutils/fixtures.py:1336
↓ 257 callers
Method
loadInitialData
(items: Team[], hasMore?: boolean | null, cursor?: string | null)
static/app/stores/teamStore.tsx:22
↓ 245 callers
Method
parse
(cls, name: str)
src/sentry/utils/outcomes.py:155
↓ 243 callers
Function
start_span
Starts and returns a streamed span if the streaming trace lifecycle is enabled. Otherwise, starts and returns a transaction or child span. A
src/sentry/utils/tracing.py:74
↓ 242 callers
Method
create_sentry_app
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:502
↓ 242 callers
Method
get_installation
( cls, model: RpcIntegration | Integration, organization_id: int, **kwargs: Any )
src/sentry/integrations/base.py:273
↓ 240 callers
Method
post
(self, url, data=None, headers=None)
tests/sentry/scm/endpoints/test_scm_rpc.py:58
↓ 238 callers
Method
type
()
static/app/views/performance/newTraceDetails/traceModels/traceTreeNode/baseNode.spec.tsx:22
↓ 235 callers
Function
useProjects
({limit, slugs, orgId: propOrgId}: Options = {})
static/app/utils/useProjects.tsx:161
↓ 234 callers
Method
read
(self, size: int | None = None)
src/sentry/utils/http.py:334
↓ 228 callers
Function
useApiQuery
( queryKey: ApiQueryKey, options: UseApiQueryOptions<TResponseData, TError> )
static/app/utils/queryClient.tsx:86
↓ 223 callers
Function
assume_test_silo_mode_of
Potentially swap to the silo mode to match the provided model classes. The argument should be one or more model classes that are scoped to exactl
src/sentry/testutils/silo.py:391
↓ 223 callers
Method
get_response
(request)
tests/sentry/web/test_api.py:897
↓ 220 callers
Method
now
(self)
tests/sentry/releases/endpoints/test_organization_release_health_data.py:1589
↓ 218 callers
Method
requestPromise
( path: string, { includeAllArgs, ...options }: {includeAllArgs?: boolean} & Readonly<
static/app/__mocks__/api.tsx:211
↓ 216 callers
Method
respond
(self, context: object | None = None, **kwargs: Any)
src/sentry/api/base.py:580
↓ 215 callers
Method
create_data_condition_group
(self, organization=None, **kwargs)
src/sentry/testutils/fixtures.py:860
↓ 211 callers
Method
items
(self)
src/sentry/seer/sentry_data_models.py:830
↓ 211 callers
Function
max
( a: MaxPickableDaysOptions, b: MaxPickableDaysOptions )
static/app/utils/useMaxPickableDays.tsx:83
↓ 210 callers
Method
get_rule
(self, **kwargs)
src/sentry/testutils/cases.py:810
↓ 209 callers
Method
do_request
(self, query, user=None, org=None, status_code=200)
tests/snuba/api/endpoints/test_organization_stats_v2.py:103
↓ 208 callers
Method
getTime
()
static/app/utils/replays/timer.tsx:94
↓ 205 callers
Method
filter
(cls, project_ids, organization_id, order_by, value_list)
src/sentry/models/transaction_threshold.py:99
↓ 204 callers
Method
keys
(self)
tests/apigw/test_proxy.py:23
↓ 198 callers
Method
create_environment
(self, project=None, **kwargs)
src/sentry/testutils/fixtures.py:257
↓ 195 callers
Method
create_alert_rule
(self, *args, **kwargs)
tests/sentry/incidents/endpoints/test_organization_combined_rule_index_endpoint.py:76
↓ 194 callers
Method
copy
(self)
src/sentry/utils/services.py:38
↓ 194 callers
Method
create_provider_integration
Create an integration tied to a provider but no particular organization.
src/sentry/testutils/fixtures.py:730
↓ 193 callers
Function
normalizeUrl
( path: LocationDescriptor, options?: NormalizeUrlOptions )
static/app/utils/url/normalizeUrl.tsx:43
↓ 192 callers
Function
fetchMutation
( variables: ApiMutationVariables )
static/app/utils/queryClient.tsx:159
↓ 192 callers
Method
join
(self)
tests/sentry/runner/commands/test_cleanup.py:57
↓ 192 callers
Function
renderHookWithProviders
( callback: (initialProps: Props) => Result, options: RenderHookWithProvidersOptions<Props> = {} )
tests/js/sentry-test/reactTestingLibrary.tsx:390
↓ 191 callers
Function
get_path
Safely resolves data from a recursive data structure. A value is only returned if the full path exists, otherwise ``None`` is returned.
src/sentry/utils/safe.py:92
↓ 190 callers
Method
create_sentry_app_installation
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:514
↓ 190 callers
Function
decodeScalar
(value: QueryValue, fallback?: string)
static/app/utils/queryString.tsx:104
↓ 190 callers
Method
now
(self)
tests/sentry/sentry_metrics/querying/data/test_api.py:89
↓ 188 callers
Method
create_project_rule
(self, project=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:294
↓ 186 callers
Method
create_workflow
(self, *args, **kwargs)
src/sentry/testutils/fixtures.py:810
↓ 186 callers
Method
timestamp
(self)
src/sentry/services/eventstore/models.py:129
↓ 183 callers
Function
useParams
()
static/app/utils/useParams.tsx:84
↓ 182 callers
Method
do_request
(self, *args, **kwargs)
tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py:5022
↓ 182 callers
Method
exists
(self, key: str)
src/sentry/auth/manager.py:30
↓ 181 callers
Method
add_organization
Add an organization to this integration. Returns None if the OrganizationIntegration was not created
src/sentry/integrations/models/integration.py:106
↓ 181 callers
Method
do_request
(self, query, features=None, **kwargs)
tests/snuba/api/endpoints/test_organization_events_span_indexed.py:26
↓ 180 callers
Method
do_request
(self, query, features=None, **kwargs)
tests/sentry/api/test_organization_events.py:32
↓ 180 callers
Function
sane_repr
(*attrs: str)
src/sentry/db/models/base.py:40
↓ 180 callers
Method
toString
(sql: string, options?: StringFormatterOptions)
static/app/utils/sqlish.tsx:23
↓ 179 callers
Method
create_data_condition
( self, comparison="10", type=Condition.EQUAL, condition_result=None,
src/sentry/testutils/fixtures.py:818
↓ 177 callers
Method
resolve
* Resolve a local name to its import source and original name. * Returns null if the name was not imported (or is a local declaration).
static/oxlint/eslintPluginScraps/src/ast/tracker/imports.ts:38
↓ 177 callers
Method
then
( onfulfilled?: ((value: T) => TFul | PromiseLike<TFul>) | null, onrejected?: ((reason: unknown) => TR
static/app/types/promise.d.ts:2
↓ 176 callers
Function
absolute_uri
(url: str | None = None, url_prefix: str | None = None)
src/sentry/utils/http.py:44
↓ 172 callers
Method
run
(self, *args: object, **kwargs: object)
tests/sentry/integrations/perforce/test_client.py:1039
↓ 171 callers
Method
url
(self, dashboard_id)
tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py:4840
↓ 169 callers
Method
items
(self)
src/sentry/issues/derived/framework.py:221
↓ 168 callers
Function
renderGlobalModal
(options?: RenderOptions)
tests/js/sentry-test/reactTestingLibrary.tsx:445
↓ 167 callers
Method
matchQuery
* Create a query string match callable. * * Only keys/values defined in `query` are checked.
static/app/__mocks__/api.tsx:120
↓ 167 callers
Method
send
(self, *args, **kwargs)
src/sentry/net/http.py:195
↓ 164 callers
Method
get_from_cache
Wrapper around QuerySet.get which supports caching of the intermediate value. Callee is responsible for making sure the cach
src/sentry/db/models/manager/base.py:282
↓ 164 callers
Method
record
Record occurrence of items in a single distinct counter.
src/sentry/tsdb/base.py:553
↓ 161 callers
Method
delay
(i)
src/sentry/utils/retries.py:182
↓ 159 callers
Method
catch
( onrejected?: ((reason: unknown) => TRej | PromiseLike<TRej>) | null )
static/app/types/promise.d.ts:7
↓ 157 callers
Function
UserFixture
(params: Partial<User> = {})
tests/js/fixtures/user.ts:3
↓ 155 callers
Method
do_request
(self, *args, **kwargs)
tests/sentry/dashboards/endpoints/test_organization_dashboards_starred.py:9
↓ 154 callers
Function
textWithMarkupMatcher
(textMatch: string | RegExp)
tests/js/sentry-test/utils.tsx:51
↓ 153 callers
Method
error
(self, message: str | _StrPromise)
src/sentry/auth/helper.py:1324
↓ 152 callers
Method
test
Check if the value is the correct type or not
src/sentry/utils/types.py:51
↓ 144 callers
Method
init
()
static/app/stores/types.tsx:14
↓ 143 callers
Method
compile
Compiles the MQL query by replacing all variables inside the formulas with the corresponding queries. For example, a formula in the
src/sentry/sentry_metrics/querying/data/query.py:44
↓ 143 callers
Method
paginate
( self, request, on_results=None, paginator=None, paginator_cls=Pagina
src/sentry/api/base.py:607
↓ 137 callers
Method
assign
Assigns the next available ordinal to the supplied `obj` model.
src/sentry/backup/validate.py:45
↓ 136 callers
Method
normalize
(self, project_id: int | None = None)
src/sentry/event_manager.py:396
↓ 135 callers
Method
apply_async
(args=None, kwargs=None, countdown=None)
tests/sentry/tasks/test_relay.py:376
↓ 135 callers
Function
initializeOrg
({ organization: additionalOrg, projects: additionalProjects, router: additionalRouter, }: InitializeOrg
tests/js/sentry-test/initializeOrg.tsx:42
↓ 133 callers
Function
rerender
(newProps: Record<string, unknown>)
static/app/components/pageFilters/container.spec.tsx:882
↓ 132 callers
Method
delete
(self, *args, **kwargs)
src/sentry/models/rule.py:131
↓ 132 callers
Method
join
(self, sections: Sequence[str])
src/sentry/issues/formatting/formatter.py:187
↓ 131 callers
Method
store_transaction_metric
( self, value: list[Any] | Any, metric: str = "transaction.duration", internal
src/sentry/testutils/cases.py:1982
↓ 130 callers
Method
save
After normalizing and processing an event, save adjacent models such as releases and environments to postgres and write the event int
src/sentry/event_manager.py:441
↓ 129 callers
Method
_create_monitor
(self, **kwargs)
tests/sentry/monitors/consumers/test_monitor_consumer.py:53
↓ 129 callers
Function
mock_replay
( timestamp: datetime.datetime, project_id: int, replay_id: str, **kwargs: Any, )
src/sentry/replays/testutils.py:147
↓ 129 callers
Method
settings
(self)
src/sentry/workflow_engine/models/detector.py:205
↓ 128 callers
Function
EventFixture
(params = {})
tests/js/fixtures/event.ts:4
↓ 128 callers
Method
create_group_activity
(self, group=None, *args, **kwargs)
src/sentry/testutils/fixtures.py:421
↓ 128 callers
Method
info
Record that we are doing, or have done, a piece of work.
src/sentry/seer/autofix/pr_iteration/logs.py:152
↓ 126 callers
Function
freeze_time
(t: str | datetime | None = None)
src/sentry/testutils/helpers/datetime.py:32
← previous
next →
101–200 of 89,517, ranked by callers