Skip to content

Commit a12ac75

Browse files
authored
fix ipc metrics for admin (#586)
Ensure they are reported as server metrics rather than client metrics.
1 parent de7c649 commit a12ac75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iep-admin/src/main/java/com/netflix/iep/admin/AccessLogHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static class Exchange extends HttpExchange implements AutoCloseable {
6161
this.underlying = underlying;
6262

6363
InetSocketAddress addr = underlying.getRemoteAddress();
64-
this.entry = IPC_LOGGER.createClientEntry()
64+
this.entry = IPC_LOGGER.createServerEntry()
6565
.withOwner("iep-admin")
6666
.markStart()
6767
.withHttpMethod(underlying.getRequestMethod())

0 commit comments

Comments
 (0)