Skip to content

fix(flight): pass the tenant label to the query time metric - #1883

Merged
nikhilsinhaparseable merged 2 commits into
parseablehq:mainfrom
perfloop-oss:perfloop-pr-open-nwg3m8t5nf
Dec 1, 2026
Merged

nikhilsinhaparseable merged 2 commits into
parseablehq:mainfrom
perfloop-oss:perfloop-pr-open-nwg3m8t5nf

Conversation

@perfloop-agent

Copy link
Copy Markdown
Contributor

Closes #1882.

The tenant-metrics change in #1545 left the Flight query-time observation passing only one label, so authenticated Flight queries that finished execution failed before returning results. Pass the session tenant label with a DEFAULT_TENANT fallback, matching the HTTP query handler and preserving flight-query-{stream_name}.

tests/flight_query.rs fails without the fix and checks result delivery and query-time labels for default-tenant and named-tenant sessions.

AI assistance: Perfloop prepared this change and description.

Case and evidence


Made by Perfloop. Human sponsor: Tomás Senart.

@nikhilsinhaparseable
nikhilsinhaparseable merged commit d53199c into parseablehq:main Dec 1, 2026
11 checks passed
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.

Arrow Flight queries fail: query time metric gets one label instead of two

2 participants