Skip to content

Commit af0aa31

Browse files
committed
Micrometer: support influxdb
1 parent d0f125f commit af0aa31

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@
244244
<groupId>io.micrometer</groupId>
245245
<artifactId>micrometer-registry-prometheus</artifactId>
246246
</dependency>
247+
<dependency>
248+
<groupId>io.micrometer</groupId>
249+
<artifactId>micrometer-registry-influx</artifactId>
250+
</dependency>
247251

248252
<!-- Kubernetes -->
249253
<dependency>

src/main/java/eu/openanalytics/containerproxy/ContainerProxyApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ private static void setDefaultProperties(SpringApplication app) {
206206

207207
properties.put("spring.application.name", "ContainerProxy");
208208

209+
properties.put("management.metrics.export.defaults.enabled", "false");
210+
209211
// Health configuration
210212
// ====================
211213

0 commit comments

Comments
 (0)