Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
99fca14
refactor(replays): Simplify styled components and adjust layout in re…
jerryzhou196 Nov 28, 2025
53ec39d
added platformList PR (https://github.com/getsentry/sentry/pull/104135)
jerryzhou196 Nov 28, 2025
a564b50
removed unnecessary margin-left
jerryzhou196 Nov 28, 2025
57bfcdd
style(replays): Adjust height of KeyMetrics component for improved la…
jerryzhou196 Nov 28, 2025
c860b82
added query forwarding
jerryzhou196 Nov 28, 2025
60bd093
style(replays): Replace Flex with StyledFlex in ReplayDetailsUserBadg…
jerryzhou196 Nov 28, 2025
53e05bc
deps(js): Upgrade sentry js sdk deps to `10.27.0` (#104110)
AbhiPrasad Nov 28, 2025
7b7e47d
fix(dashboards): Filter out prebuilt dashboards from add to dashboard…
edwardgou-sentry Nov 28, 2025
d7a9c7a
ref(dynamic-sampling): simplify bias combination logic (#104119)
shellmayr Dec 1, 2025
648cfc2
fix(playstation): Show warning when connection is good, but no errors…
mujacica Dec 1, 2025
902ead3
flags(size): Add new flag to gate size issue reporting (#104122)
chromy Dec 1, 2025
6d8c7aa
ref(✂️): update knip and address new findings (#104151)
TkDodo Dec 1, 2025
25b8200
fix(playstation): Show warning when connection is good, but no errors…
mujacica Dec 1, 2025
37b3c43
add copy as markdown to user feedback (#103954)
mtopo27 Dec 1, 2025
621760b
feat(symbols): Add platform-restricted builtin symbol sources with or…
vaind Dec 1, 2025
fed6269
ref(eap): Remove AnyResolved type (#104130)
Zylphrex Dec 1, 2025
e2fd456
fix(snuba): missing referrer enum for `api.organization-events.metric…
aldy505 Dec 1, 2025
c4dd0b7
fix(mcp-onboarding): Support fullstack JS platforms (#104153)
ArthurKnaus Dec 1, 2025
ac06222
fix(snuba): add missing api.metrics.totals.second_query to Referrer e…
constantinius Dec 1, 2025
76598bf
feat: Set Default max pickable days (#104109)
Zylphrex Dec 1, 2025
a6a9027
feat(traces): Add cross event dropdown functionality (#104100)
nsdeschenes Dec 1, 2025
4c1947a
ref(redis) Don't use redis-blaster for snowflake ids v3 (#104114)
markstory Dec 1, 2025
71c0df2
Revert setting extrapolation mode to sample weighted (#104136)
shruthilayaj Dec 1, 2025
8bce453
feat(explore-attr-breakdowns): Removing hovering CTA (#104144)
Abdkhan14 Dec 1, 2025
182e64a
typing: Remove organization_events_meta from soft list (#104102)
armenzg Dec 1, 2025
467571b
feat(dashboards): wrap dashboard controls in flag if prebuilt dashboa…
DominikB2014 Dec 1, 2025
01e2fa6
flags(dashboards): register flag for prebuilt dashboard controls (#10…
DominikB2014 Dec 1, 2025
a072826
feat(anomaly): add seer anomaly thresholds to metric monitor graph (#…
shayna-ch Dec 1, 2025
c7f80a4
Modified: Background color of Secondary nav bar (#104157)
Jesse-Box Dec 1, 2025
dad243a
ref(eap): Clean up tracemetrics types in eap resolver (#104166)
Zylphrex Dec 1, 2025
7fa7815
fix(aci): handle fake incident ids in IGOP lookup (#103937)
ameliahsu Dec 1, 2025
0ce0902
theme: make UI2 the default theme (#103481)
JonasBa Dec 1, 2025
84b61d5
fix(ACI): Filter migration and emit logs (#104053)
ceorourke Dec 1, 2025
0bc5988
fix(issues): Handle null starred issue views (#104169)
malwilley Dec 1, 2025
77bf493
release: 25.11.1
getsentry-bot Dec 1, 2025
f2f70e9
chore(eco): remove halt for unfurlable link (#104168)
cathteng Dec 1, 2025
0232d3f
fix(issues): Fix `auto_ongoing_issues` task timeouts (#104036)
yuvmen Dec 1, 2025
6a11a19
chore(slack): improve performance of /sentry link command (#104019)
cathteng Dec 1, 2025
f51c18f
feat(seer): Add Auto-open PR and Cursor handoff toggles for triage-si…
Mihir-Mavalankar Dec 1, 2025
c3b559a
fix(anomaly thresholds): add email level feature flag (#104170)
shayna-ch Dec 1, 2025
81d42e8
ref(eap): Consolidate conditional aggregates (#104177)
Zylphrex Dec 1, 2025
df21755
fix(issues): Handle None users in GroupSearchView serializer (#104178)
evanpurkhiser Dec 1, 2025
9603d97
chore(llm-detector): Update issue config to allow for Seer (#104180)
roggenkemper Dec 1, 2025
f161dd9
fix(issue-timeseries): Unfilled buckets when ts aren't aligned (#103771)
wmak Dec 1, 2025
055969c
ref(explorer): rm type from attributes response (#104089)
aliu39 Dec 1, 2025
aada1d2
feat: Create OrganizationContributors table in region dbs (#103839)
ajay-sentry Dec 1, 2025
0a2ad99
ref(replay): rm beta badge and add new badge to replay summaries (#10…
michellewzhang Dec 1, 2025
ed6d0f8
feat(triage signals): Swap project level feature flag with org level …
Mihir-Mavalankar Dec 1, 2025
8894b1d
ref(explorer): rm unnecessary manual limit (#104184)
aliu39 Dec 1, 2025
4bc04a9
ref(explorer): scan in reverse time order for short id queries (#104186)
aliu39 Dec 1, 2025
a3d7dfd
fix(aci): fix sending test notification for sentry app (#104086)
cathteng Dec 1, 2025
305b236
refactor(replay) - shrink top header buttons to xs (#104187)
jerryzhou196 Dec 1, 2025
6eed754
feat: Special extrapolation on count alerts only (#104183)
shruthilayaj Dec 1, 2025
efa316f
ref(replays): reduce replay forehead (#104067)
jerryzhou196 Dec 1, 2025
c17b166
feat(trace-metrics): Support querying multiple metrics (#104182)
Zylphrex Dec 1, 2025
047a77e
feat(top-issues): add more specific tags (#104181)
cvxluo Dec 1, 2025
ec5d2a8
ref(eventsv2): Remove organization eventsv2 base (#104189)
wmak Dec 1, 2025
fd6a9b4
fix(dashboards): Removes edit permission on widget context menu for p…
edwardgou-sentry Dec 1, 2025
d85e4c8
feat(top-issues): new visual hierarchy for cluster cards (#104197)
cvxluo Dec 1, 2025
a6f8cfe
fix(rules): Skip none on combined rule serialization (#104196)
ceorourke Dec 1, 2025
92aba32
chore(ACI): Remove temporary fallthrough type logic (#103996)
ceorourke Dec 1, 2025
60a811f
ref(top-issues): ui cleanup (#104202)
cvxluo Dec 1, 2025
c9864f1
fix(tests) Unskip test that was previously flaky (#104162)
markstory Dec 1, 2025
a1aaacb
undid avatarStyle marginOffset
jerryzhou196 Dec 1, 2025
94357e6
ref(replayBadge): Replace Text with RelativeText for tooltip stacking…
jerryzhou196 Dec 1, 2025
617de14
ref(breadcrumbs): Remove z-index from StyledBreadcrumbs for improved …
jerryzhou196 Dec 1, 2025
db28832
ref(replay): Update link query structure in Replay components
jerryzhou196 Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
440 changes: 440 additions & 0 deletions CHANGES

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion migrations_lockfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ releases: 0004_cleanup_failed_safe_deletes

replays: 0006_add_bulk_delete_job

sentry: 1009_add_date_updated_to_organizationmapping
sentry: 1010_add_organizationcontributors_table

social_auth: 0003_social_auth_json_field

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@
"@sentry-internal/rrweb": "2.40.0",
"@sentry-internal/rrweb-player": "2.40.0",
"@sentry-internal/rrweb-snapshot": "2.40.0",
"@sentry/core": "10.23.0",
"@sentry/node": "10.23.0",
"@sentry/react": "10.23.0",
"@sentry/core": "10.27.0",
"@sentry/node": "10.27.0",
"@sentry/react": "10.27.0",
"@sentry/release-parser": "^1.3.1",
"@sentry/status-page-list": "^0.6.1",
"@sentry/toolbar": "1.0.0-beta.16",
"@sentry/webpack-plugin": "4.4.0",
"@sentry/webpack-plugin": "4.6.1",
"@stripe/react-stripe-js": "^3.9.2",
"@stripe/stripe-js": "^5.10.0",
"@swc/plugin-emotion": "11.0.3",
Expand Down Expand Up @@ -190,7 +190,7 @@
"@prettier/plugin-oxc": "0.0.4",
"@sentry-internal/rrweb-types": "2.40.0",
"@sentry/jest-environment": "6.1.0",
"@sentry/profiling-node": "10.23.0",
"@sentry/profiling-node": "10.27.0",
"@styled/typescript-styled-plugin": "^1.0.1",
"@tanstack/eslint-plugin-query": "5.83.1",
"@testing-library/dom": "10.4.0",
Expand Down Expand Up @@ -223,7 +223,7 @@
"jest-environment-jsdom": "30.0.4",
"jest-fail-on-console": "3.3.1",
"jest-junit": "16.0.0",
"knip": "5.64.0",
"knip": "5.71.0",
"postcss-styled-syntax": "0.7.0",
"react-refresh": "0.18.0",
"stylelint": "16.10.0",
Expand Down
1,149 changes: 549 additions & 600 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ ignore_missing_imports = true
# - python3 -m tools.mypy_helpers.find_easiest_modules
[[tool.mypy.overrides]]
module = [
"sentry.api.endpoints.organization_events_meta",
"sentry.api.endpoints.organization_releases",
"sentry.api.paginator",
"sentry.db.postgres.base",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sentry
version = 25.12.0.dev0
version = 25.11.1
description = A realtime logging and aggregation server.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
6 changes: 1 addition & 5 deletions src/sentry/api/bases/organization_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ def quantize_date_params(
)
return results


class OrganizationEventsV2EndpointBase(OrganizationEventsEndpointBase):
owner = ApiOwner.DATA_BROWSING

def build_cursor_link(self, request: HttpRequest, name: str, cursor: Cursor | None) -> str:
# The base API function only uses the last query parameter, but this endpoint
# needs all the parameters, particularly for the "field" query param.
Expand Down Expand Up @@ -776,7 +772,7 @@ def serialize_accuracy_data(
return serialized_values


class KeyTransactionBase(OrganizationEventsV2EndpointBase):
class KeyTransactionBase(OrganizationEventsEndpointBase):
def has_feature(self, organization: Organization, request: Request) -> bool:
return features.has("organizations:performance-view", organization, actor=request.user)

Expand Down
38 changes: 34 additions & 4 deletions src/sentry/api/endpoints/builtin_symbol_sources.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import cast

from django.conf import settings
from rest_framework.request import Request
from rest_framework.response import Response
Expand All @@ -6,6 +8,8 @@
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import Endpoint, region_silo_endpoint
from sentry.api.serializers import serialize
from sentry.models.organization import Organization
from sentry.utils.console_platforms import organization_has_console_platform_access


def normalize_symbol_source(key, source):
Expand All @@ -26,10 +30,36 @@ class BuiltinSymbolSourcesEndpoint(Endpoint):
permission_classes = ()

def get(self, request: Request, **kwargs) -> Response:
sources = [
normalize_symbol_source(key, source)
for key, source in settings.SENTRY_BUILTIN_SOURCES.items()
]
platform = request.GET.get("platform")

# Get organization if organization context is available
organization = None
organization_id_or_slug = kwargs.get("organization_id_or_slug")
if organization_id_or_slug:
try:
if str(organization_id_or_slug).isdecimal():
organization = Organization.objects.get_from_cache(id=organization_id_or_slug)
else:
organization = Organization.objects.get_from_cache(slug=organization_id_or_slug)
except Organization.DoesNotExist:
pass

sources = []
for key, source in settings.SENTRY_BUILTIN_SOURCES.items():
source_platforms: list[str] | None = cast("list[str] | None", source.get("platforms"))

# If source has platform restrictions, check if current platform matches
if source_platforms is not None:
if not platform or platform not in source_platforms:
continue

# Platform matches - now check if organization has access to this console platform
if not organization or not organization_has_console_platform_access(
organization, platform
):
continue

sources.append(normalize_symbol_source(key, source))

sources.sort(key=lambda s: s["name"])
return Response(serialize(sources))
4 changes: 2 additions & 2 deletions src/sentry/api/endpoints/organization_ai_conversations.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from sentry.api.api_owners import ApiOwner
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.paginator import GenericOffsetPaginator
from sentry.api.utils import handle_query_errors
from sentry.models.organization import Organization
Expand Down Expand Up @@ -52,7 +52,7 @@ def validate_sort(self, value):


@region_silo_endpoint
class OrganizationAIConversationsEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationAIConversationsEndpoint(OrganizationEventsEndpointBase):
"""Endpoint for fetching AI agent conversation traces."""

publish_status = {
Expand Down
18 changes: 4 additions & 14 deletions src/sentry/api/endpoints/organization_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from sentry import features
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.helpers.error_upsampling import (
is_errors_query_for_error_upsampled_projects,
transform_orderby_for_error_upsampling,
Expand Down Expand Up @@ -85,7 +85,7 @@ class EventsApiResponse(TypedDict):

@extend_schema(tags=["Discover"])
@region_silo_endpoint
class OrganizationEventsEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationEventsEndpoint(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
Expand Down Expand Up @@ -164,14 +164,6 @@ def get(self, request: Request, organization: Organization) -> Response:
"""
Retrieves discover (also known as events) data for a given organization.

**Eventsv2 Deprecation Note**: Users who may be using the `eventsv2` endpoint should update their requests to the `events` endpoint outline in this document.
The `eventsv2` endpoint is not a public endpoint and has no guaranteed availability. If you are not making any API calls to `eventsv2`, you can safely ignore this.
Changes between `eventsv2` and `events` include:
- Field keys in the response now match the keys in the requested `field` param exactly.
- The `meta` object in the response now shows types in the nested `field` object.

Aside from the url change, there are no changes to the request payload itself.

**Note**: This endpoint is intended to get a table of results, and is not for doing a full export of data sent to
Sentry.

Expand Down Expand Up @@ -536,12 +528,10 @@ def get_rpc_config():
)
elif scoped_dataset == TraceMetrics:
# tracemetrics uses aggregate conditions
metric_name, metric_type, metric_unit = get_trace_metric_from_request(request)
metric = get_trace_metric_from_request(request)

return TraceMetricsSearchResolverConfig(
metric_name=metric_name,
metric_type=metric_type,
metric_unit=metric_unit,
metric=metric,
use_aggregate_conditions=use_aggregate_conditions,
auto_fields=True,
disable_aggregate_extrapolation=disable_aggregate_extrapolation,
Expand Down
4 changes: 2 additions & 2 deletions src/sentry/api/endpoints/organization_events_facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from sentry import tagstore
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.paginator import GenericOffsetPaginator
from sentry.api.utils import handle_query_errors, update_snuba_params_with_timestamp
from sentry.models.organization import Organization
Expand All @@ -27,7 +27,7 @@ class _KeyTopValues(TypedDict):


@region_silo_endpoint
class OrganizationEventsFacetsEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationEventsFacetsEndpoint(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from sentry import features, tagstore
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.paginator import GenericOffsetPaginator
from sentry.api.utils import handle_query_errors
from sentry.models.organization import Organization
Expand All @@ -39,7 +39,7 @@
DEFAULT_TAG_KEY_LIMIT = 5


class OrganizationEventsFacetsPerformanceEndpointBase(OrganizationEventsV2EndpointBase):
class OrganizationEventsFacetsPerformanceEndpointBase(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.utils import handle_query_errors
from sentry.models.organization import Organization
from sentry.snuba import discover
Expand Down Expand Up @@ -50,7 +50,7 @@ def validate(self, data):


@region_silo_endpoint
class OrganizationEventsHasMeasurementsEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationEventsHasMeasurementsEndpoint(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand Down
4 changes: 2 additions & 2 deletions src/sentry/api/endpoints/organization_events_histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sentry.api.api_owners import ApiOwner
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.utils import handle_query_errors
from sentry.models.organization import Organization
from sentry.snuba import discover
Expand Down Expand Up @@ -44,7 +44,7 @@ def validate_field(self, fields):


@region_silo_endpoint
class OrganizationEventsHistogramEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationEventsHistogramEndpoint(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand Down
29 changes: 16 additions & 13 deletions src/sentry/api/endpoints/organization_events_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
from sentry import features, options, search
from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import (
NoProjects,
OrganizationEventsEndpointBase,
OrganizationEventsV2EndpointBase,
)
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.event_search import parse_search_query
from sentry.api.helpers.environments import get_environment_func
from sentry.api.helpers.group_index import build_query_params_from_request
Expand Down Expand Up @@ -147,13 +143,17 @@ def get(self, request: Request, organization: Organization) -> Response:
with handle_query_errors():
with sentry_sdk.start_span(op="discover.endpoint", name="filter_creation"):
projects = self.get_projects(request, organization)
# Filter out None values from environments
environments = [e for e in snuba_params.environments if e is not None]
query_kwargs = build_query_params_from_request(
request, organization, projects, snuba_params.environments
request, organization, projects, environments
)
query_kwargs["limit"] = 5
try:
# Need to escape quotes in case some "joker" has a transaction with quotes
transaction_name = UNESCAPED_QUOTE_RE.sub('\\"', lookup_keys["transaction"])
transaction_name = UNESCAPED_QUOTE_RE.sub(
'\\"', lookup_keys["transaction"] or ""
)
parsed_terms = parse_search_query(f'transaction:"{transaction_name}"')
except ParseError:
return Response({"detail": "Invalid transaction search"}, status=400)
Expand Down Expand Up @@ -181,7 +181,7 @@ def get(self, request: Request, organization: Organization) -> Response:


@region_silo_endpoint
class OrganizationSpansSamplesEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationSpansSamplesEndpoint(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand All @@ -198,11 +198,13 @@ def get(self, request: Request, organization: Organization) -> Response:

with handle_query_errors():
if use_eap:
result = get_eap_span_samples(request, snuba_params, orderby)
result: EAPResponse | EventsResponse = get_eap_span_samples(
request, snuba_params, orderby
)
dataset = Spans
else:
result = get_span_samples(request, snuba_params, orderby)
dataset = spans_indexed
dataset = spans_indexed # type: ignore[assignment]

return Response(
self.handle_results_with_meta(
Expand Down Expand Up @@ -282,9 +284,10 @@ def get_span_samples(
span_ids.append(top)

if len(span_ids) > 0:
query = f"span_id:[{','.join(span_ids)}] {request.query_params.get('query')}"
user_query = request.query_params.get("query") or ""
query = f"span_id:[{','.join(span_ids)}] {user_query}"
else:
query = request.query_params.get("query")
query = request.query_params.get("query") or ""

return spans_indexed.query(
selected_columns=selected_columns,
Expand Down Expand Up @@ -320,7 +323,7 @@ def get_eap_span_samples(
"trace",
]

query_string = request.query_params.get("query")
query_string = request.query_params.get("query") or ""
bounds_query_string = f"{column}:>{lower_bound}ms {column}:<{upper_bound}ms {query_string}"

rpc_res = Spans.run_table_query(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.utils import handle_query_errors
from sentry.models.organization import Organization
from sentry.search.events.types import Span
Expand Down Expand Up @@ -36,7 +36,7 @@ def validate_span(self, span: str) -> Span:


@region_silo_endpoint
class OrganizationEventsSpansHistogramEndpoint(OrganizationEventsV2EndpointBase):
class OrganizationEventsSpansHistogramEndpoint(OrganizationEventsEndpointBase):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from sentry.api.api_publish_status import ApiPublishStatus
from sentry.api.base import region_silo_endpoint
from sentry.api.bases import NoProjects, OrganizationEventsV2EndpointBase
from sentry.api.bases import NoProjects, OrganizationEventsEndpointBase
from sentry.api.paginator import GenericOffsetPaginator
from sentry.api.utils import handle_query_errors
from sentry.discover.arithmetic import is_equation, strip_equation
Expand Down Expand Up @@ -86,7 +86,7 @@ class SpanPerformanceColumn:
}


class OrganizationEventsSpansEndpointBase(OrganizationEventsV2EndpointBase):
class OrganizationEventsSpansEndpointBase(OrganizationEventsEndpointBase):
def get_snuba_params(
self,
request: Request,
Expand Down
Loading
Loading