Skip to content

Commit

Permalink
Sender feilmelding som tag til prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Kroken committed Oct 8, 2023
1 parent 1fbff4b commit 5bd47f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class MicrometerStatusMalere(private val registry: MeterRegistry) {
Gauge
.builder("pensjonopptjening_applikasjonsstatus_feil") { antallFeil() }
.tag("status","feil")
.tag("feilmelding",feilmelding())
.register(registry)
Gauge
.builder("pensjonopptjening_applikasjonsstatus_ukjent") { antallMangler() }
Expand Down

0 comments on commit 5bd47f3

Please sign in to comment.