Skip to content

Commit

Permalink
F - Legger Metric til listen over ignore-classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Oct 31, 2024
1 parent 2c8c11d commit ad0c35b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ open class EuxErrorHandler : DefaultResponseErrorHandler() {
private fun getCallingClasses(): List<String> {
val stackTrace = Thread.currentThread().stackTrace

val excludedClasses = setOf(this::class.java.name, "ResponseErrorHandler", "RestTemplate", "MetricsHelper")
val excludedClasses = setOf(this::class.java.name, "ResponseErrorHandler", "RestTemplate", "MetricsHelper", "Metric")

return stackTrace.drop(2)
.take(15)
Expand Down

0 comments on commit ad0c35b

Please sign in to comment.