Skip to content

Commit

Permalink
for some reason the status tag is not registered by monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 23, 2024
1 parent 55382f4 commit c8da1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/common/src/main/mon.scala
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ object mon:
timer("relay.fetch.time").withTags(relay(official, id, slug))
def syncTime(official: Boolean, id: RelayTourId, slug: String) =
timer("relay.sync.time").withTags(relay(official, id, slug))
def httpGet(status: Int, host: String, proxy: Option[String]) = timer("relay.http.get").withTags:
tags("status" -> status, "host" -> host, "proxy" -> proxy.getOrElse("none"))
def httpGet(code: Int, host: String, proxy: Option[String]) = timer("relay.http.get").withTags:
tags("code" -> code, "host" -> host, "proxy" -> proxy.getOrElse("none"))
val dedup = counter("relay.fetch.dedup").withoutTags()
def etag(hit: "hit" | "miss" | "first") = counter("relay.fetch.etag").withTag("hit", hit)

Expand Down

0 comments on commit c8da1ec

Please sign in to comment.