add metrics exporter for InfluxDB (disabled by default)

This commit is contained in:
Gauthier Roebroeck 2019-11-04 15:05:11 +08:00
parent 5221f22eb7
commit 80cbbe0ecf
2 changed files with 7 additions and 1 deletions

View file

@ -51,6 +51,7 @@ dependencies {
implementation("io.github.microutils:kotlin-logging:1.7.6")
implementation("io.micrometer:micrometer-registry-humio")
implementation("io.micrometer:micrometer-registry-influx")
run {
val springfoxVersion = "2.9.2"

View file

@ -13,4 +13,9 @@ management:
health:
roles: ADMIN
show-details: when_authorized
management.metrics.export.humio.enabled: false
metrics:
export:
influx:
enabled: false
humio:
enabled: false