| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add opt-in Micrometer registry configuration for Spring Boot 2, 3, and 4 when the sentry-micrometer artifact is present.\n\nExpose polling configuration, register the Sentry registry with Spring's composite registry, and verify active and passive metric delivery through sample system tests.\n\nCo-Authored-By: Claude <noreply@anthropic.com>
|
Sorry, something went wrong.
📲 Install BuildsAndroid
|
Sorry, something went wrong.
Update Spring Boot system test expectations to match the Sentry registry's dot naming convention. Co-Authored-By: Claude <noreply@anthropic.com>
Document generation-specific starter coordinates so Spring Boot 2 and 3 users can adapt the Boot 4 setup example. Co-Authored-By: Claude <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
PR Stack (Micrometer)
📜 Description
Add opt-in Micrometer integration for Spring Boot 2, 3, and 4.
When sentry-micrometer and Micrometer are on the classpath, setting sentry.micrometer.enabled=true creates a SentryMeterRegistry bean that Spring adds to its composite registry. sentry.micrometer.poll-interval-millis controls passive polling and defaults to 60 seconds.
The artifact remains optional and is not added transitively by the existing starters. The Spring Boot samples add Actuator and verify that active HTTP metrics and passively polled process metrics reach real Sentry metric envelopes.
💡 Motivation and Context
Spring Boot applications commonly use Micrometer through Actuator. Thin conditional configuration lets those applications add Sentry as another metrics destination without replacing existing registries or enabling the integration merely because a class happens to be present.
Importing the configuration from the existing Sentry auto-configuration keeps lifecycle and initialization ordering aligned across all three supported Spring Boot generations.
💚 How did you test it?
The Spring Boot 2, 3, and 4 MetricsSystemTest suites also passed against the repository mock Sentry server on port 18080. They verify http.server.requests active metrics and passively polled process.uptime metrics in captured envelopes.
📝 Checklist
🔮 Next steps
Complete cross-SDK documentation and evaluate build-plugin installation separately.