Skip to content

Conversation

@cdmatta
Copy link

@cdmatta cdmatta commented Nov 11, 2025

Enhance metrics auto-configuration to support custom meter conventions
by auto-wiring them when available:

  • ProcessorMetrics now accepts JvmCpuMeterConventions
  • JvmMemoryMetrics now accepts JvmMemoryMeterConventions
  • JvmThreadMetrics now accepts JvmThreadMeterConventions
  • ClassLoaderMetrics now accepts JvmClassLoadingMeterConventions

Metrics beans gracefully fall back to default behavior when no custom conventions are provided, maintaining backward compatibility.

Closes gh-47908

Metrics beans gracefully fall back to default behavior when no
custom conventions are provided, maintaining backward compatibility.

Closes spring-projectsgh-47908
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 11, 2025
@wilkinsona
Copy link
Member

Thank you, @cdmatta, but we already have a pull request for this (#47935).

@wilkinsona wilkinsona closed this Nov 12, 2025
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: duplicate A duplicate of another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-configure JvmCpuMeterConventions bean on ProcessorMetrics

3 participants