-
Notifications
You must be signed in to change notification settings - Fork 84
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
Adds continous metric to the deploytime #654
Adds continous metric to the deploytime #654
Conversation
d2d99e7
to
ecb02c7
Compare
We're inheriting the mistake the previous code made-- I'll have a proposed patch to clean that up in a second. |
Thoughts? KevinMGranger@1dec37a Compare: https://gist.github.com/KevinMGranger/78bf9c10becd8d7ad9b5fe267626a68c Not only are the metric readings now side-by-side, the statistics about python garbage collection differ by an order of magnitude. Do you accept these changes? |
Change that adds to the deploytime continous time series for the active deployments. Deployment with a timestamp creates an event, which may be in the past. Having just an event we are unable to make calculations based on the currently active deployments, because one may be gone from the cluster. Adding deployment_active metric to already existing deploy_timestamp will allow to better visualize Lead Time for Change, where the "dots" are connected to each other, plus in the future we may be able to answer additional questions such as how many deployed apps are still working. On top of that this change ensures one metric is presented only one time in the series rather then multiple times. The metrics were gathered several times multiplied by the number of found unique deployments. Signed-off-by: Michal Pryc <mpryc@redhat.com> Clean up deploytime - Simplifies reporting deploy_timestamp and deployment_active - Simplifies DeployTimeMetric creation (datetime handling) Signed-off-by: Kevin M Granger <kgranger@redhat.com> Co-authored-by: Kevin M Granger <kgranger@redhat.com>
04bc399
to
02855f7
Compare
/hold |
not required for MVR.. let's so a follow up 2.0.1 |
02855f7
to
1dec37a
Compare
1dec37a
to
02855f7
Compare
/retest |
1 similar comment
/retest |
Looks like a prow / AWS error, right? |
@KevinMGranger yeah |
/test 4.9-e2e-openshift |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KevinMGranger The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Change that adds to the deploytime continous time series for the active deployments.
Deployment with a timestamp creates an event, which may be in the past. Having just an event we are unable to make calculations based on the currently active deployments, because one may be gone from the cluster.
Adding deployment_active metric to already existing deploy_timestamp will allow to better visualize Lead Time for Change, where the "dots" are connected to each other, plus in the future we may be able to answer additional questions such as how many deployed apps are still working.
On top of that this change ensures one metric is presented only one time in the series rather then multiple times. The metrics were gathered several times multiplied by the number of found unique deployments.
Fixes #657
Signed-off-by: Michal Pryc mpryc@redhat.com
@redhat-cop/mdt