apucher closed pull request #3615: [TE] tracking - increase datasource
performance output
URL: https://github.com/apache/incubator-pinot/pull/3615
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/tracking/RequestStatisticsFormatter.java
b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/tracking/RequestStatisticsFormatter.java
index 3594088bd3..c92c9c140a 100644
---
a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/tracking/RequestStatisticsFormatter.java
+++
b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/tracking/RequestStatisticsFormatter.java
@@ -26,7 +26,7 @@
public class RequestStatisticsFormatter {
- private static final int TOP_K = 10;
+ private static final int TOP_K = 20;
private static final Comparator<Map.Entry<String, Long>> COMP_LONG = new
Comparator<Map.Entry<String, Long>>() {
@Override
@@ -42,10 +42,10 @@ public int compare(Map.Entry<String, Double> o1,
Map.Entry<String, Double> o2) {
}
};
- private static final int MAX_KEY_LEN = 50;
- private static final String FORMAT_LONG = " %-50s %10d\n";
- private static final String FORMAT_DURATION = " %-50s %10.0f\n";
- private static final String FORMAT_RATE = " %-50s %10.3f\n";
+ private static final int MAX_KEY_LEN = 80;
+ private static final String FORMAT_LONG = " %-80s %10d\n";
+ private static final String FORMAT_DURATION = " %-80s %10.0f\n";
+ private static final String FORMAT_RATE = " %-80s %10.3f\n";
public String format(RequestStatistics stats) {
StringBuilder builder = new StringBuilder();
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]