-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add support for histogram quantiles #1533
Conversation
We would appreciate it if you could provide us with more info about this issue/pr! |
Kudos, SonarCloud Quality Gate passed!
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
1 similar comment
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
@srikanthccv we should check the performance comparison of the new implemented running difference vs the native |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
1 similar comment
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
@prashant-shahi I was thinking we will maintain a separate repo |
How will this work for those who use external clickhouse clusters? The init containers should make the udfs available on hosted or external clickhouse clusters, right? |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
LGTM but more eyes can be more helpful. Feel free to merge if you are confident |
@srikanthccv I see some minor differences in the chart. Though they seem to be negligible, could you figure out any specific reason for that? We can keep a check on it |
The smoothness of the curve in the Prometheus chart varies depending on the time range |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Kudos, SonarCloud Quality Gate passed!
|
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.
Fixes https://github.com/SigNoz/engineering-pod/issues/618
This commit adds support for plotting/calculating the percentile based on the histogram buckets data.
There are two custom functions added
histogramQuantile
is enabled by adding a custom executable function in the ClickHouse using UDF. ThehistogramQuantile
takes bucket bounds, cumulative counts and quantile as args and returns the float value. The sample usage would be like the following.The executable should be compiled for the target arch to get it to work without any issues.