log.warning("Stats data was too big, " + action + ".");
}
}
private RequestStatProto removeStackTraces(RequestStatProto proto) {
Builder builder = proto.toBuilder().clearIndividualStats();
for (IndividualRpcStatsProto stat : proto.getIndividualStatsList()) {
builder.addIndividualStats(stat.toBuilder().clearCallStack());
}
return builder.build();
}