Disable the Client autoconfiguration
MatonAnthony opened this issue · 2 comments
MatonAnthony commented
While using the Spring Boot starter in some situations (such as testing scenarios), it would be nice to be able to disable the autoconfiguration.
There is currently not properties to do this contrary to what you find in other metrics exporter such as the influx one.
Would a merge request for a feature like this be welcome?
Is there a way to do it currently?
jkschneider commented
@MatonAnthony You can set the management.metrics.export.prometheus.rsocket=false
property in a profile.
MatonAnthony commented
Thanks a lot for your time.
The property management.metrics.export.prometheus.rsocket.enabled
works with false
, I didn't thought about looking at the annotation on the class :|