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

fix(1412): allow aggregation #1569

Merged
merged 5 commits into from
Mar 27, 2019
Merged

fix(1412): allow aggregation #1569

merged 5 commits into from
Mar 27, 2019

Conversation

d2lam
Copy link
Member

@d2lam d2lam commented Mar 27, 2019

Allows aggregation option and combine steps in build metrics

Blocked by: screwdriver-cd/models#355
Related: #1412

@coveralls
Copy link

coveralls commented Mar 27, 2019

Coverage Status

Coverage increased (+0.02%) to 99.499% when pulling 572fde0 on aggregate into 8d8c05a on master.

@d2lam
Copy link
Member Author

d2lam commented Mar 27, 2019

Coverage decreased because step metrics is removed, so it brings down overall coverage. But the two files being changed are still 100%

@@ -7,7 +7,7 @@ const MAX_DAYS = 180; // 6 months

module.exports = () => ({
method: 'GET',
path: '/jobs/{id}/metrics/builds',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does UI need to change ?

Copy link
Member Author

@d2lam d2lam Mar 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI doesn't call this yet. For the 2 graphs we currently have, it should be calling /pipelines/{id}/metrics
cc @DekusDenial please confirm

@d2lam d2lam merged commit 826553a into master Mar 27, 2019
@d2lam d2lam deleted the aggregate branch March 27, 2019 23:07
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