fr-142 support jenkins.job.stage_completed#145
Conversation
|
@FlorianVeaux I have created this PR and tested it locally. I was not able to run all mvn tests locally due to mocking errors. I would appreciate it if you can either use this as a base to take it forward or take it as is if all checks pass. |
|
The error reported in the Check is which does not seem to be related to this PR? |
|
The build is successful on my side locally and is ok as well on the CI (seems to be a windows related flake though but not related). Thanks for the PR it looks good, one point though: Indeed that will make the metric a "count" on Datadog in-app (so the default time-aggregator will be set to sum). Also that will help if there are multiple stages with the same tags that finish at the same time. This way the value of the metric will accurately represent the total number of completed stages. |
There was a problem hiding this comment.
Could you also update the ReadMe to include this new metric?
…tadogGraphListener.java Co-authored-by: Florian Veaux <[email protected]>
Spaces to rebuild.
|
This is great thanks 🙇 Merging as is and cutting a release later today |
Requirements for Contributing to this repository
What does this PR do?
#142
Description of the Change
Add additional metric when the stage completes
jenkins.job.stage_completed { stage_name, stage_depth, stage_parent, result }
Alternate Designs
Possible Drawbacks
Verification Process
I validated this manually.
I was not able to run mvn test successfully due to other failures.
Additional Notes
Release Notes
There is additional metric now
jenkins.job.stage_completed { stage_name, stage_depth, stage_parent, result }
Review checklist (to be filled by reviewers)
changelog/label attached. If applicable it should have thebackward-incompatiblelabel attached.do-not-merge/label attached.kind/andseverity/labels attached at least.