Skip to content

Commit

Permalink
fix ipc metrics for admin (#586)
Browse files Browse the repository at this point in the history
Ensure they are reported as server metrics rather than
client metrics.
  • Loading branch information
brharrington authored Sep 6, 2023
1 parent de7c649 commit a12ac75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private static class Exchange extends HttpExchange implements AutoCloseable {
this.underlying = underlying;

InetSocketAddress addr = underlying.getRemoteAddress();
this.entry = IPC_LOGGER.createClientEntry()
this.entry = IPC_LOGGER.createServerEntry()
.withOwner("iep-admin")
.markStart()
.withHttpMethod(underlying.getRequestMethod())
Expand Down

0 comments on commit a12ac75

Please sign in to comment.