-
Couldn't load subscription status.
- Fork 38.8k
Closed as not planned
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytheme: observabilityAn issue related to observability and tracingAn issue related to observability and tracingtype: enhancementA general enhancementA general enhancement
Description
See micrometer-metrics/micrometer#3250 for background.
Micrometer allows to instrument JDK ExecutorService instances using its ExecutorServiceMetrics class. Micrometer users would like to leverage this feature for our ThreadPoolTaskExecutor, but doing so erases its Spring-specific support (like graceful shutdown) as it exposes it as a ScheduledExecutorService.
Micrometer itself cannot depend on Spring Framework for this, so we should investigate several solutions:
- instrument
ThreadPoolTaskExecutordirectly (at the cost of a directmicrometer-observationdependency fromspring-context - provide an optional wrapper/JDK proxy mechanism that instrument this class with an optional dependency on
micrometer-observation
bananayong
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytheme: observabilityAn issue related to observability and tracingAn issue related to observability and tracingtype: enhancementA general enhancementA general enhancement