This repository has been archived by the owner on Jan 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Conversation
This file contains 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
gzussa
suggested changes
Nov 14, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't check tests at this point. Just the core implementation. Good clean up 👍
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogMetricCounter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogMetricCounter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogMetricCounter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogMetricCounter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/model/LocalCacheCounters.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/model/LocalCacheCounters.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/model/LocalCacheCounters.java
Outdated
Show resolved
Hide resolved
dabcoder
commented
Nov 18, 2019
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogPeriodicCounterSender.java
Outdated
Show resolved
Hide resolved
dabcoder
commented
Nov 18, 2019
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListener.java
Outdated
Show resolved
Hide resolved
gzussa
suggested changes
Nov 18, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. Made comment to push this further.
- Let's manually test this to make sure it work. I have a doubt that resetting the cache before submitting metrics may be a problem.
- Also we should go deeper testing
mttr
,cycleTime
,leadTime
metrics. Each deserve their own tests.
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListener.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListener.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListener.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListener.java
Outdated
Show resolved
Hide resolved
src/test/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListenerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListenerTest.java
Show resolved
Hide resolved
src/test/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListenerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListenerTest.java
Show resolved
Hide resolved
src/test/java/org/datadog/jenkins/plugins/datadog/DatadogBuildListenerTest.java
Outdated
Show resolved
Hide resolved
zippolyte
reviewed
Nov 25, 2019
zippolyte
reviewed
Nov 25, 2019
src/main/java/org/datadog/jenkins/plugins/datadog/clients/DatadogHttpClient.java
Outdated
Show resolved
Hide resolved
gzussa
approved these changes
Nov 27, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved 😆
This was referenced Nov 27, 2019
Closed
zippolyte
reviewed
Nov 27, 2019
src/main/java/org/datadog/jenkins/plugins/datadog/clients/ConcurrentMetricCounters.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/clients/ConcurrentMetricCounters.java
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/clients/ConcurrentMetricCounters.java
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/clients/DatadogHttpClient.java
Outdated
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/clients/DatadogHttpClient.java
Outdated
Show resolved
Hide resolved
zippolyte
suggested changes
Nov 27, 2019
src/main/java/org/datadog/jenkins/plugins/datadog/clients/ConcurrentMetricCounters.java
Show resolved
Hide resolved
src/main/java/org/datadog/jenkins/plugins/datadog/clients/ConcurrentMetricCounters.java
Outdated
Show resolved
Hide resolved
zippolyte
approved these changes
Nov 27, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
jenkins.job.started
andjenkins.scm.checkout
metrics.try catch
statements so build don't fail because of the plugin - see issue discussed in Provide option to post to local dogstatsd rather than going directly to the API #34 (however, in this PR we are removing DogStatsD dependency)