| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add a framework-neutral Micrometer registry that forwards counters, timers, and distribution summaries through the existing Sentry metrics API while preserving local meter behavior. Register the new integration artifact and cover naming, units, filtering, scope resolution, and composite registry coexistence. Co-Authored-By: Claude <noreply@anthropic.com>
|
Sorry, something went wrong.
📲 Install BuildsAndroid
|
Sorry, something went wrong.
Use Micrometer's dot naming convention by default so exported metric names and tag keys match their instrumented forms. Keep the registry convention configurable for applications that need another format. Co-Authored-By: Claude <noreply@anthropic.com>
Express the registry's name-preservation contract directly instead of relying on Micrometer's dot alias for the identity convention. Co-Authored-By: Claude <noreply@anthropic.com>
Deactivate active meter wrappers when Micrometer removes them from the registry. Preserve local meter state while preventing stale handles from sending duplicate metrics after re-registration. Co-Authored-By: Claude <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
PR Stack (Micrometer)
📜 Description
Add the framework-neutral sentry-micrometer module and its public SentryMeterRegistry.
The registry forwards positive counter increments and individual timer and distribution-summary recordings through Sentry.metrics(). It remains a normal Micrometer registry for local reads, defaults to Micrometer's identity naming convention while remaining configurable, applies registry-local filters, converts tags and units to Sentry metric metadata, and coexists with other registries in a composite.
This PR also registers the artifact, SDK integration metadata, package documentation, and release metadata.
💡 Motivation and Context
Micrometer users currently need custom bridge code to send application metrics to Sentry. A dedicated registry lets applications add Sentry as another metrics destination without replacing Prometheus, Datadog, OTLP, or other registries.
This is the first PR in the Micrometer stack. Passive meter polling, FunctionTimer semantics, and Spring Boot auto-configuration follow separately.
💚 How did you test it?
Tests cover active meter forwarding, normal local reads, metadata conversion, filtering, dynamic Sentry scope resolution, failure isolation, lifecycle behavior, and composite-registry coexistence.
📝 Checklist
🔮 Next steps
Add passive gauge, long-task timer, and function-counter polling in the next stack PR.
#skip-changelog