Skip to content

feat(micrometer): Add Micrometer metrics integration - #6084

Draft
adinauer wants to merge 1 commit into
mainfrom
feat/micrometer
Draft

feat(micrometer): Add Micrometer metrics integration#6084
adinauer wants to merge 1 commit into
mainfrom
feat/micrometer

Conversation

@adinauer

@adinauer adinauer commented Sep 10, 2026

Copy link
Copy Markdown
Member

PR Stack (Micrometer)


📜 Description

Collection branch for the Micrometer metrics integration stack.

The stack adds a framework-neutral sentry-micrometer registry, active and passive meter mappings, separately reviewed FunctionTimer semantics, and opt-in Spring Boot 2, 3, and 4 auto-configuration.

💡 Motivation and Context

Micrometer users currently need custom code to send application metrics to Sentry. This stack makes Sentry an additional Micrometer destination while preserving existing registries and reusing the SDK's metrics pipeline.

💚 How did you test it?

Each stack PR includes focused tests for the capability it introduces. The final PR adds cross-registry and Spring Boot validation.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

Merge the stack PRs bottom-to-top using merge commits, then squash-merge this collection PR into main.

@github-actions

Copy link
Copy Markdown
Contributor
Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- Add Micrometer metrics integration ([#6084](https://github.com/getsentry/sentry-java/pull/6084))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 2b6abbb

@sentry

sentry Bot commented Sep 10, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.56.0 (1) release

⚙️ sentry-android Build Distribution Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant