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

feat(suspect-spans): Add endpoint for listing span ops #29559

Merged
merged 3 commits into from
Oct 27, 2021

Conversation

Zylphrex
Copy link
Member

This introduces a new endpoint for getting a list of span ops. Support for
searching for an op does not exist yet.

This adds support for the array join clause in clickhouse through SnQL. The
array join clause is like a database join but instead of joining two tables, the
join is performed on the table with the array.
This introduces a new endpoint for getting a list of span ops. Support for
searching for an op does not exist yet.
@Zylphrex Zylphrex requested a review from a team as a code owner October 25, 2021 21:38
Copy link
Member

@wmak wmak left a comment

Choose a reason for hiding this comment

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

LGTM, but a bit confused by the title of this PR clashing with the description. I assume the title is outdated?


return self.store_event(data, project_id=self.project.id)

@pytest.mark.skip("setting snuba config is too slow")
Copy link
Member

Choose a reason for hiding this comment

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

Could we mock snuba for these endpoint tests, since the snuba functionality is "tested" elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll do that in a follow-up PR 👍

Base automatically changed from feat/support-for-array-join-clause-in-snql to master October 27, 2021 14:02
@Zylphrex Zylphrex changed the title feat(suspect-spans): Add endpoint for searching span ops feat(suspect-spans): Add endpoint for listing span ops Oct 27, 2021
@Zylphrex Zylphrex merged commit da07a12 into master Oct 27, 2021
@Zylphrex Zylphrex deleted the feat/add-endpoint-for-searching-span-ops branch October 27, 2021 20:03
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 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