From 80cbbe0ecf4c00779d35249ca503769eda0b1b36 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 4 Nov 2019 15:05:11 +0800 Subject: [PATCH] add metrics exporter for InfluxDB (disabled by default) --- komga/build.gradle.kts | 1 + komga/src/main/resources/application.yml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/komga/build.gradle.kts b/komga/build.gradle.kts index 4c43313c7..47b2d5049 100644 --- a/komga/build.gradle.kts +++ b/komga/build.gradle.kts @@ -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" diff --git a/komga/src/main/resources/application.yml b/komga/src/main/resources/application.yml index 8e0c0713f..70eadaf6b 100644 --- a/komga/src/main/resources/application.yml +++ b/komga/src/main/resources/application.yml @@ -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