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: query pprof from store-gateway #2694

Merged
merged 4 commits into from
Nov 16, 2023
Merged

Conversation

kolesnikovae
Copy link
Collaborator

@kolesnikovae kolesnikovae commented Nov 15, 2023

The PR adds support for querying pprof from store-gateways. The implementation relies on the physical plan, if available.

@@ -739,6 +739,7 @@ func SelectMatchingProfiles(ctx context.Context, request *ingestv1.SelectProfile

for i, querier := range queriers {
if skipBlock(querier.BlockID()) {
iters[i] = iter.NewEmptyIterator[Profile]()
Copy link
Contributor

Choose a reason for hiding this comment

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

^^ smart

# Conflicts:
#	pkg/querier/ingester_querier.go
#	pkg/querier/querier_test.go
#	pkg/querier/store_gateway_querier.go
# Conflicts:
#	pkg/querier/querier.go
@kolesnikovae kolesnikovae marked this pull request as ready for review November 16, 2023 11:42
@kolesnikovae kolesnikovae requested a review from a team as a code owner November 16, 2023 11:42
@kolesnikovae kolesnikovae changed the title WIP: feat: query pprof from store-gateway feat: query pprof from store-gateway Nov 16, 2023
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena cyriltovena merged commit 67c47fd into main Nov 16, 2023
17 checks passed
@cyriltovena cyriltovena deleted the feat/select-merge-profile branch November 16, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants