From 84ec351f246f4365060341d9f6ca22517e441314 Mon Sep 17 00:00:00 2001 From: anderssonw Date: Tue, 4 Jun 2024 11:14:00 +0200 Subject: [PATCH] bump logback and prometheus --- gradle/libs.versions.toml | 10 +++++----- .../no/kartverket/matrikkel/bygning/Application.kt | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 62065015..3ab8d216 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,9 +1,9 @@ [versions] ktorVersion = "2.3.11" kotlinVersion = "2.0.0" -logbackVersion = "1.4.14" +logbackVersion = "1.5.6" logstashVersion = "7.4" -prometheusVersion = "1.10.3" +prometheusVersion = "1.13.0" flywayVersion = "10.13.0" jacksonVersion = "2.17.1" postgresVersion = "42.7.3" @@ -34,7 +34,7 @@ kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test-junit", vers [plugins] kotlin-jvm = { id = "jvm", version.ref = "kotlinVersion" } -kotlin-serialization = {id = "plugin.serialization", version.ref="kotlinVersion"} +kotlin-serialization = { id = "plugin.serialization", version.ref = "kotlinVersion" } -ktor = {id = "io.ktor.plugin", version.ref="ktorVersion" } -shadow = {id = "com.github.johnrengelman.shadow", version.ref="shadowVersion"} \ No newline at end of file +ktor = { id = "io.ktor.plugin", version.ref = "ktorVersion" } +shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadowVersion" } \ No newline at end of file diff --git a/src/main/kotlin/no/kartverket/matrikkel/bygning/Application.kt b/src/main/kotlin/no/kartverket/matrikkel/bygning/Application.kt index f71dc48e..13e6f308 100644 --- a/src/main/kotlin/no/kartverket/matrikkel/bygning/Application.kt +++ b/src/main/kotlin/no/kartverket/matrikkel/bygning/Application.kt @@ -11,8 +11,8 @@ import io.ktor.server.plugins.cors.routing.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* -import io.micrometer.prometheus.PrometheusConfig -import io.micrometer.prometheus.PrometheusMeterRegistry +import io.micrometer.prometheusmetrics.PrometheusConfig +import io.micrometer.prometheusmetrics.PrometheusMeterRegistry import no.kartverket.matrikkel.bygning.db.DatabaseSingleton import no.kartverket.matrikkel.bygning.repositories.BygningRepository import no.kartverket.matrikkel.bygning.repositories.HealthRepository