-
Notifications
You must be signed in to change notification settings - Fork 119
feat(scorecard): scorecard timeseries scalar aggregation #4476
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
Merged
dzemanov
merged 11 commits into
redhat-developer:main
from
dzemanov:scorecard/timeseries-aggregation-RHIDP-14402
Sep 2, 2026
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
311be2f
Intorduce time-series aggregation
dzemanov 9df43cd
Add error handling for time-series aggregation
dzemanov 79126c3
Introduce ScorecardVisualizationType
dzemanov 2c226f4
fix: address review issues
dzemanov 65078d4
Deduplicate test
dzemanov fbb0bb6
Fix api report
dzemanov f6448fe
Rename
dzemanov e967e83
Add filter test
dzemanov b8aff57
Unify with snapshot timeseries
dzemanov 512aa89
Use max timestamp
dzemanov 4eb816c
Update docs and changeset
dzemanov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| '@red-hat-developer-hub/backstage-plugin-scorecard-common': minor | ||
|
dzemanov marked this conversation as resolved.
dzemanov marked this conversation as resolved.
|
||
| '@red-hat-developer-hub/backstage-plugin-scorecard-backend': minor | ||
| --- | ||
|
|
||
| Add `GET /aggregations/:aggregationId/time-series` for daily scalar portfolio aggregation (`sum`, `average`, `max`, `min`, `count`). Returns aggregated metric values per UTC days. Days with no data are omitted. Aggregation type `statusGrouped` and `weightedStatusScore` return `400`. Sparkline metrics without a KPI block default to aggregation type `average`. | ||
|
|
||
| Adds `metadata.visualization` type to `GET /aggregations/:aggregationId/metadata` response. | ||
|
djanickova marked this conversation as resolved.
dzemanov marked this conversation as resolved.
djanickova marked this conversation as resolved.
dzemanov marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.