Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(suspect-spans): Span ops endpoint should not be paged yet #29749

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Nov 3, 2021

The span ops endpoint is being accidentally paged along with the spans tab. This
should not be paginating at all.

The span ops endpoint is being accidentally paged along with the spans tab. This
should not be paginating at all.
@Zylphrex Zylphrex requested a review from a team as a code owner November 3, 2021 19:07
@@ -75,6 +75,8 @@ export default function OpsFilter(props: Props) {
location={location}
orgSlug={organization.slug}
eventView={opsFilterEventView}
cursor="0:0:1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another one? Hmmmmm there should be a cleaner approach than this. I think maybe we should have a way for queries to change which url param they (or the EventView payload function that gets called) looks at for the cursor, and use null to indicate that the EventView should not use the location cursor?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, there should definitely be a clean way to handle this. Going to merge this for now and revisit later.

@Zylphrex Zylphrex merged commit 892259b into master Nov 4, 2021
@Zylphrex Zylphrex deleted the fix/span-ops-endpoint-should-not-be-paged branch November 4, 2021 14:22
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants