Update Task to resolve Micromenter 2.0.x upgrade issue.
This will resolve the current issue, but improvements to Task's use of Micrometer 2.0 are coming in a upcoming PR
This commit is contained in:
@@ -116,7 +116,7 @@ public class TaskMetrics {
|
||||
(this.exception == null) ? "none"
|
||||
: this.exception.getClass().getSimpleName())
|
||||
.tag(TASK_STATUS_TAG,
|
||||
(this.exception == null) ? STATUS_SUCCESS : STATUS_FAILURE));
|
||||
(this.exception == null) ? STATUS_SUCCESS : STATUS_FAILURE).register(Metrics.globalRegistry));
|
||||
this.taskSample = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user