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

[DOC] Remove the traceQLStreaming feature flag #4173

Conversation

knylander-grafana
Copy link
Contributor

What this PR does:

Removes the traceQLStreaming feature flag, per grafana/grafana#94528

Which issue(s) this PR fixes:
Part of grafana/grafana#94528

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@knylander-grafana knylander-grafana added the type/docs Improvements or additions to documentation label Oct 11, 2024
@knylander-grafana knylander-grafana self-assigned this Oct 11, 2024
@knylander-grafana knylander-grafana changed the title [DOC] Remove https://traceQLStreaming feature flag [DOC] Remove the traceQLStreaming feature flag Oct 11, 2024
Copy link
Contributor

@javiermolinar javiermolinar left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for upgrading Grafana!

@knylander-grafana
Copy link
Contributor Author

You're welcome! Thank you for the review. :)

Rohlik and others added 6 commits October 11, 2024 17:21
Signed-off-by: Joe Elliott <number101010@gmail.com>
…grafana#4163)

* Dynamic reordering of binop branches

* consts and cleanup

* changelog
)

* add local pprof files in .gitignore

* fast distinct_string_collector

* faster scoped_distinct_string collector

* Update the usage of the combiners

* add a benchmark for duplicates

* Add benchmarks

* Update CHANGELOG.md

* return error on calls to Diff with diff disabled

* return exceeded bool on Collect in ScopedDistinctString

* test collect return and Exceeded

* Add a note about DistinctString collector's Collect return bool

* only new in withDiff versions

* remove extra note

* move the lock down in the Diff method

* fix flaky test
The query frontend treats all jobs as the same size when it farms them out to the queriers. This can cause querier instability b/c some jobs actually require quite a bit more resources to execute. By assigning weights to jobs we can reduce the amount each querier is asked to do will hopefully:

reduce querier OOMs/timeouts/retries
reduce querier latency
increase total throughput
Other changes

Removed the roundtripper httpgrpc bridge and pushed the concept of pipeline.Request all the way down into the cortex frontend code. This can be a nice perf improvement b/c translating http -> httpgrpc is costly and we are pushing it to the last moment. Currently for some queries we are translating thousands of jobs and then throwing them away.
Removed redundant parseQuery and createFetchSpansRequest to consolidate on the Compile function in pkg/traceql
Check for context error before going through retry logic in retryWare. This causes retry metrics to be more accurate in the event of many cancelled jobs.
…a#4119)

* Pushdown collection of results from generators in the querier

* Update CHANGELOG.md
@knylander-grafana
Copy link
Contributor Author

knylander-grafana commented Oct 15, 2024

Okay, i have no idea what happened in this PR. There should only be some minor changes to one or two files, not 53 files changed.

Redo: #4188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants