forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics: remove delayed implementation of timers interface (elastic#1…
…4815) The delayed implementation `AfterCompletionTimerMetric` of the `TimerMetric` interface, introduced along-side that interface's introduction to replicate the previous (undesired) behaviour, is superceded by an already-merged live- tracking implementation that is effectively as performant when not under concurrent contention and still reasonably performant when a single timer is contended across multiple threads. The `metric.timers` setting removed here has not been a part of any Logstash release and can safely be removed without going through the normal deprecation path; from the user's perspective this removal combined with the previously- merged work is simply an improvement to the accuracy of the existing timer metrics exposed via our API.
- Loading branch information
Showing
6 changed files
with
1 addition
and
84 deletions.
There are no files selected for viewing
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
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
62 changes: 0 additions & 62 deletions
62
...-core/src/main/java/org/logstash/instrument/metrics/timer/AfterCompletionTimerMetric.java
This file was deleted.
Oops, something went wrong.
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
8 changes: 0 additions & 8 deletions
8
...e/src/test/java/org/logstash/instrument/metrics/timer/AfterCompletionTimerMetricTest.java
This file was deleted.
Oops, something went wrong.
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