Skip to content

Support server-side query profiling#555

Merged
bevzzz merged 4 commits intomainfrom
feat/query-profile
Apr 8, 2026
Merged

Support server-side query profiling#555
bevzzz merged 4 commits intomainfrom
feat/query-profile

Conversation

@bevzzz
Copy link
Copy Markdown
Collaborator

@bevzzz bevzzz commented Apr 8, 2026

Resolves #554

This PR adds support for on-demand query profiling introduced in weaviate/weaviate#10696 (v1.36.9). To enable it, the user needs to pass Metadata.QUERY_PROFILE to returnMetadata() for any query.

The QUERY_PROFILE flag is not included in Metadata.ALL, as collecting the profile data implies significant overhead and should be opted-in explicitly.

The diff looks way more approachable if you ignore protobuf-related changes.

@bevzzz bevzzz self-assigned this Apr 8, 2026
Copy link
Copy Markdown

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@bevzzz bevzzz requested a review from a team as a code owner April 8, 2026 11:54
@bevzzz bevzzz force-pushed the feat/query-profile branch from fd937c0 to 76d76bc Compare April 8, 2026 11:56
@bevzzz bevzzz merged commit 8c6e53a into main Apr 8, 2026
12 checks passed
@bevzzz bevzzz deleted the feat/query-profile branch April 8, 2026 12:56
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.

Add support for Query Profiling

2 participants