File tree Expand file tree Collapse file tree
src/main/java/eu/openanalytics/containerproxy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,7 +206,15 @@ private static void setDefaultProperties(SpringApplication app) {
206206
207207 properties .put ("spring.application.name" , "ContainerProxy" );
208208
209- properties .put ("management.metrics.export.defaults.enabled" , "false" );
209+ // Metrics configuration
210+ // ====================
211+
212+ // disable all supported exporters by default
213+ properties .put ("management.metrics.export.prometheus.enabled" , "false" );
214+ properties .put ("management.metrics.export.influx .enabled" , "false" );
215+ // Note: if we upgrade to Spring Boot 2.4.0 we can use properties.put("management.metrics.export.defaults.enabled", "false");
216+
217+ // ====================
210218
211219 // Health configuration
212220 // ====================
You can’t perform that action at this time.
0 commit comments