Skip to content

Commit

Permalink
fikser navn
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Nov 25, 2024
1 parent 348b187 commit 6f263a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ fun Application.standardApiModule(

with(meterRegistry) {
val pkg = ::naisApp.javaClass.`package`
val vendor = pkg?.implementationVendor ?: "unknown"
val title = pkg?.implementationTitle ?: "unknown"
val version = pkg?.implementationVersion ?: "unknown"
MultiGauge.builder("naisful.info")
.description("Naisful version info")
.tag("vendor", vendor)
.tag("title", title)
.tag("version", version)
.register(this)
.register(listOf(MultiGauge.Row.of(Tags.of(emptyList()), 1)))
Expand Down

0 comments on commit 6f263a1

Please sign in to comment.