Skip to content

Commit 2c06b36

Browse files
author
Matt Jacobs
committed
Remove requestId from request events JSON
1 parent 26db2f7 commit 2c06b36

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hystrix-contrib/hystrix-metrics-event-stream/src/main/java/com/netflix/hystrix/contrib/requests/stream/HystrixRequestEventsJsonStream.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,10 @@ public static String convertRequestToJson(HystrixRequestEvents request) throws I
5858

5959
private static void writeRequestAsJson(JsonGenerator json, HystrixRequestEvents request) throws IOException {
6060
json.writeStartObject();
61-
json.writeStringField("request", request.getRequestContext().toString());
62-
json.writeObjectFieldStart("commands");
6361
for (HystrixInvokableInfo<?> execution: request.getExecutions()) {
6462
convertExecutionToJson(json, execution);
6563
}
6664
json.writeEndObject();
67-
json.writeEndObject();
6865
}
6966

7067
private static void convertExecutionToJson(JsonGenerator json, HystrixInvokableInfo<?> execution) throws IOException {

0 commit comments

Comments
 (0)