-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Metrics query builder improvements #4016
Comments
|
Yes, it comes up often percentile queries. It applies to all signals and more generic to query builder #3156. |
@YounixM here are the points we discussed and the things that needed to be done from the client side Functional Specification
Following is the list of metric types and their expected behaviour
Following is the list of functions supported and the optional args expected
The list of new/updated fields expected in the payloadNote: Use
Non-functional requirements
|
|
@srikanthccv let's create a new issue for the items not done and close this |
All the user-facing tasks are done. Follow up in #4845. |
Add metric meta information to
time_series_v3
andtime_series_v2
Update the current aggregate attribute API to include the metric meta information
Add API endpoint for supported temporal and spatial aggregations for the metric type
Add API endpoint for supported functions by category
Update the current BuilderQuery payload to support the temporal and spatial aggregations for metrics datasource and functions for any data source
Update the query builder logic to support the temporal and spatial aggregations for the metrics source
Update the get time series result to support the functions
Add support for functions that take the time series as input and return a time series as output with a function applied on each time series
Add extensive tests for functions
Update docs describing temporal and spatial aggregation better and add examples
Migrate all known users and supported dashboard jsons on promql and CH query to the new BuilderQuery payload
More to be added after the PRD and design discussion.
The text was updated successfully, but these errors were encountered: