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

Expose ExchangeSource metrics in query json #22722

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

losipiuk
Copy link
Member

Description

Expose ExchangeSource metrics in query json

Another approach after reverting #22685.

This time we introduce pipelineOperatorMetrics with explicit property of being shared between all the operator instances for given operator id within a pipeline.

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Jul 18, 2024
@losipiuk losipiuk marked this pull request as draft July 18, 2024 11:55
@losipiuk losipiuk marked this pull request as ready for review July 18, 2024 12:29
Allow setting pipeline level metrics in PipelineContext.
Metrics are keyed on operartor id and will be part of OperatorStats in
query JSON.
The usecase is to track metrics for entities which are operator specific
but shared between operators in given pipeline.
Expose metrics from ExchangeDataSource and pass those externally as
metrics of ExchangeOperator
@losipiuk losipiuk merged commit d82444b into trinodb:master Jul 18, 2024
2 checks passed
@github-actions github-actions bot added this to the 453 milestone Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants