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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emit fine grained metrics for every part of the query pipeline #1992
Conversation
I'm approving of the changes to the plugin interface. We should consider making it a component plugin in the future, though, but this PR is neither the time nor the place to do it. |
1e780de
to
03f68df
Compare
The exporter used to keep the expression only, but we are actually interested in the ID and parameters too.
The underlying issue has been resolved with commit 0555580.
4a8eb62
to
1aa2620
Compare
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.
One general question: Did you try to set up some dashboards using these metrics? Would be lovely to see a screenshot shared in the community Slack or so.
On some systems `int64_t` is defined as `singed long int`, but the representation for the duration of `std::chrono::steady_clock` can be different. This caused a typed mpi mismatch that is hereby fixed.
ba9f97b
to
87d3acd
Compare
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.
We did the review synchronously, paired up with Tobias, and fixed compilation problems.
Good to go.
This change adds metrics events that are emitted for each query from the meta index, partition and store components. All new metrics and the preexisting exporter metrics events use the query ID as metadata value to allow cross-referencing.
馃摑 Checklist
馃幆 Review Instructions
Each commit can be reviewed individually in order.
The last commit modifies the interface of the store plugin, which is unfortunate and I would like to discuss alternative approaches.