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

ref(metrics): Add support for the TOTALS clause in MetricsQuery #124

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

evanh
Copy link
Member

@evanh evanh commented Oct 16, 2023

If the totals parameter is true in the Rollup when an interval is
specified, the query will set the TOTALS True clause on the SnQL query which
will in turn use Clickhouse's WITH TOTALS clause to fetch an extra totals row.

If the `totals` parameter is true in the `Rollup` when an interval is
specified, the query will set the `TOTALS True` clause on the SnQL query which
will in turn use Clickhouse's WITH TOTALS clause to fetch an extra totals row.
@evanh evanh requested a review from a team as a code owner October 16, 2023 16:13
@evanh evanh merged commit f394ac9 into main Oct 18, 2023
7 checks passed
@evanh evanh deleted the evanh/fix/add-totals-to-metrics-query branch October 18, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants