-
Notifications
You must be signed in to change notification settings - Fork 15
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
NETOBSERV-226 matrix merger implementation #120
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
pmodel "github.com/prometheus/common/model" | ||
) | ||
|
||
type MatrixMerger struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd document what MatrixMerger is
for r := range resChan { | ||
//TODO: resp.Data.Stats are incorrect doing that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a407b30
to
4f9a148
Compare
New changes are detected. LGTM label has been removed. |
Following #105 Matrix merger was not implemented
This adds the missing backend part to run topology queries keeping the
fetchParallel
approach.I have some concerns about performances since we are replacing Loki
Query Frontend
role by splitting queries on our side. This can generate thousands internal queries.https://grafana.com/docs/loki/latest/configuration/query-frontend/#parallelization
We can unlock the situation with this PR and decide what to do next after performance testing.