This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Adds support for rollup query helper based on query range inputs #1780
Open
Harkishen-Singh
wants to merge
7
commits into
feature_metric_rollup
Choose a base branch
from
feat_rollup_resolution_decider
base: feature_metric_rollup
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Adds support for rollup query helper based on query range inputs #1780
Harkishen-Singh
wants to merge
7
commits into
feature_metric_rollup
from
feat_rollup_resolution_decider
Commits on Nov 2, 2022
-
Adds support to create/delete metric rollups via dataset-config.
Signed-off-by: Harkishen-Singh <[email protected]> This commit adds support for creation or deletion of metric rollups by reading the dataset-config file. The dataset config file contains a new field `downsample:` which supports 2 options: `automatic` & `resolution`. If `automatic` is false, then connector updates in the database so that `_prom_catalog.scan_for_new_rollups` does not create any new rollups (Caggs). `resolution` is a comma separated list of resolutions for downsampling, in a way that label:resolution:retention is the format that is needed. Example: `short:5m:90d,long:1h:365d` -> The resolution works in a strict manner. Its aim is to make sure that the database contains exactly those resolutions that are mentioned in the dataset config. Like, if the database already contains `short` and `long` downsampled data and the dataset is supplied with `short:5m:90d,very_long:1d:365d` then `long` downsampled case is deleted and `very_long` is created. -> `resolution` is applied if `automatic` is `true`. If automatic is not given in dataset config, it defaults to `true` based on our plan to keep downsampling applied as a default setting.
Configuration menu - View commit details
-
Copy full SHA for e1d967f - Browse repository at this point
Copy the full SHA e1d967fView commit details -
Update resolution config and add E2E tests for creation/deletion of r…
…ollups. Signed-off-by: Harkishen-Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d1dbbc - Browse repository at this point
Copy the full SHA 8d1dbbcView commit details -
Refactor DayDuration -> day.Duation
Signed-off-by: Harkishen-Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 782dad8 - Browse repository at this point
Copy the full SHA 782dad8View commit details
Commits on Nov 16, 2022
-
Update tests related to register_metric_view().
Signed-off-by: Harkishen-Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5409511 - Browse repository at this point
Copy the full SHA 5409511View commit details
Commits on Dec 1, 2022
-
Adds support to instrument metric-rollups behaviour
Signed-off-by: Harkishen-Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8281a59 - Browse repository at this point
Copy the full SHA 8281a59View commit details
Commits on Dec 6, 2022
-
Update rollups creation/deletion/updation using dataset-config.
Signed-off-by: Harkishen-Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec7c1d5 - Browse repository at this point
Copy the full SHA ec7c1d5View commit details
Commits on Dec 12, 2022
-
Implement rollup resolution decider for incoming queries.
Signed-off-by: Harkishen-Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e1f5c5 - Browse repository at this point
Copy the full SHA 9e1f5c5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.