Skip to content

Auto-configure OtlpMetricsSender if available #45204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

shakuzen
Copy link
Member

A new interface OtlpMetricsSender was introduced to allow users to customize the sending of Protobuf OTLP metrics using the OtlpMeterRegistry. This configures it, if available as a bean, on the auto-configured OtlpMeterRegistry.

See the corresponding Micrometer documentation and micrometer-metrics/micrometer#6025

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 15, 2025
A new interface OtlpMetricsSender was introduced to allow users to customize the sending of OTLP metrics using the OtlpMeterRegistry. This configures it, if available as a bean, on the auto-configured OtlpMeterRegistry.
@shakuzen shakuzen force-pushed the otlp-metrics-sender branch from 764428c to 82d7bd3 Compare April 15, 2025 09:58
@mhalbritter mhalbritter added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 15, 2025
@mhalbritter mhalbritter added this to the 3.5.x milestone Apr 15, 2025
@philwebb philwebb changed the title Auto-configure OtlpMetricsSender if available Auto-configure OtlpMetricsSender if available Apr 15, 2025
@philwebb philwebb self-assigned this Apr 15, 2025
philwebb pushed a commit that referenced this pull request Apr 15, 2025
Update `OtlpMetricsExportAutoConfiguration` to use the new
`OtlpMetricsSender`interface that allows users to customize the
sending of OTLP metrics using the `OtlpMeterRegistry`.

See gh-45204
philwebb added a commit that referenced this pull request Apr 15, 2025
Update `OtlpMetricsExportAutoConfiguration` to use the new
`OtlpMetricsSender`interface that allows users to customize the
sending of OTLP metrics using the `OtlpMeterRegistry`.

See gh-45204
@philwebb philwebb closed this in 97c44d1 Apr 15, 2025
@philwebb philwebb modified the milestones: 3.5.x, 3.5.0-RC1 Apr 15, 2025
@philwebb
Copy link
Member

Thanks @shakuzen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants