Auto-configure OtlpMetricsSender if available
Update `OtlpMetricsExportAutoConfiguration` to use the new `OtlpMetricsSender`interface that allows users to customize the sending of OTLP metrics using the `OtlpMeterRegistry`. See gh-45204
This commit is contained in:
committed by
Phillip Webb
parent
752842a4ee
commit
776d233c1c
@@ -522,6 +522,8 @@ management:
|
||||
|
||||
Custom headers, for example for authentication, can also be provided using configprop:management.otlp.metrics.export.headers.*[] properties.
|
||||
|
||||
If an `OtlpMetricsSender` bean is available, it will be configured on the `OtlpMeterRegistry` that Spring Boot auto-configures.
|
||||
|
||||
|
||||
|
||||
[[actuator.metrics.export.prometheus]]
|
||||
|
||||
Reference in New Issue
Block a user