Skip to content

Commit

Permalink
refine instrumentation for logging (airbnb#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzding621 authored Aug 19, 2024
1 parent d97ce79 commit 22b25d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion online/src/main/scala/ai/chronon/online/Fetcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ class Fetcher(val kvStore: KVStore,
// to handle GroupByServingInfo staleness that results in encoding failure
getJoinCodecs.refresh(resp.request.name)
joinContext.foreach(
_.incrementException(new Exception(s"Logging failed due to: ${exception.traceString}", exception)))
_.withSuffix("logging_request")
.incrementException(new Exception(s"Logging failed due to: ${exception.traceString}", exception)))
}
Response(resp.request, Success(resp.derivedValues))
}
Expand Down

0 comments on commit 22b25d6

Please sign in to comment.