Skip to content

Commit

Permalink
Merge pull request #1105 from kyagna/fix-tags
Browse files Browse the repository at this point in the history
Add missing tag name in zuul.sni.parse.failure counter
  • Loading branch information
kyagna committed Sep 14, 2021
2 parents 6d29e74 + a76b0d6 commit 73cfd7c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -155,8 +155,8 @@ public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exc
spectatorRegistry.counter("zuul.sni.parse.success").increment();
} else {
Throwable cause = sniCompletionEvent.cause();
spectatorRegistry.counter("zuul.sni.parse.failure", cause != null ? cause.getMessage() : "UNKNOWN")
.increment();
spectatorRegistry.counter("zuul.sni.parse.failure",
"cause", cause != null ? cause.getMessage() : "UNKNOWN").increment();
}
}
super.userEventTriggered(ctx, evt);
Expand Down

0 comments on commit 73cfd7c

Please sign in to comment.