@@ -34,9 +34,13 @@ public interface MicrometerConfig {
34
34
35
35
/**
36
36
* Micrometer MeterBinder discovery.
37
+ * In other words, enables the automatic metrics instrumentation.
37
38
* <p>
38
39
* Micrometer MeterBinder implementations discovered on the classpath
39
- * will be enabled automatically by default.
40
+ * will be enabled automatically by default. In other words, automatic metrics instrumentation will be ON by default.
41
+ * <p>
42
+ * <code>quarkus.micrometer.binder.enable-all</code> overrides this property, meaning when this is set to
43
+ * <code>false</code>, and <code>enable-all</code> is true, discovery of all MeterBinder will still happen.
40
44
*/
41
45
@ WithDefault ("true" )
42
46
boolean binderEnabledDefault ();
@@ -193,9 +197,15 @@ interface BinderConfig {
193
197
NettyConfigGroup netty ();
194
198
195
199
/**
196
- * Enable all binders. This property has precedence over all {@link BinderConfig} binders. In other words,
200
+ * Enable all binders.
201
+ * Activates all metrics regardless off their particular default.
202
+ * <p>
203
+ * This property has precedence over all {@link BinderConfig} binders. In other words,
197
204
* if the <code>quarkus.micrometer.binder.jvm</code> is set to <code>false</code> and
198
205
* <code>quarkus.micrometer.binder.enabled-all</code> is set to <code>true</code>, all JVM metrics will be enabled.
206
+ * <p>
207
+ * Also takes precedence over <code>quarkus.micrometer.binder-enabled-default</code>, if binder discover is disabled,
208
+ * discovery of all metrics will still happen.
199
209
*/
200
210
@ WithDefault ("false" )
201
211
boolean enableAll ();
0 commit comments