Data_timeSinceLastSummary either too high or does not make sense
Data is based on last 5 days.
If these numbers resemble actual perf, why are they so large? If not, can we fix it? I assume they are incorrect due to reporting bogus data for first summary. Can we either not report it, or add a summary counter property (to know it's first summary in this session)?
percentile | time (ms) 50 | 41,349 90 | 148,421 95 | 355,758 98 | 687,469 99 | 862,177 99.5 | 1,008,407 max | 1,750,118
There is already a summary counter property since at least version 0.10.15850: "Data_summarizeCount".
The first summary would typically report less time currently, because it counts time since it started up rather than since the last summary sent.
Another thing to consider is that the timeSinceLastSummary here includes the time it takes to actually generate the summary. That may not be the root cause of these, but in some cases where generating summary is slow, then timeSinceLastSummary will also appear high.
I already changed this in PR #460, so the timeSinceLastSummary and timeSinceLastAttempt will be the time until right before the summary is generated.
We will need to wait until we get more data, but numbers make the most sense with versions after 0.10.15313, especially when subtracting duration. They max out right around 600,000 (10 min) which is the summary ack wait timeout - this makes sense.
| type | pkg | Count | min | 25pct | 50pct | 90pct | 95pct | 98pct | 99pct | 99_5pct | max |
|---|---|---|---|---|---|---|---|---|---|---|---|
| raw | 0.10.15993 | 159 | 15907 | 18622 | 36108 | 108537 | 310020 | 406331 | 536422 | 600237 | 600237 |
| raw | 0.10.15850 | 2 | 16333 | 16333 | 16333 | 36575 | 36575 | 36575 | 36575 | 36575 | 36575 |
| raw | 0.10.15313 | 5178 | 2115 | 19274.5 | 41570.48 | 150952.7 | 352545.6 | 693074.1 | 865869.5 | 1077764 | 1750118 |
| raw | 0.10.15062 | 6 | 6417 | 7242 | 12940 | 127430 | 127430 | 127430 | 127430 | 127430 | 127430 |
| raw | 4 | 6028 | 6028 | 10928 | 25009 | 25009 | 25009 | 25009 | 25009 | 25009 | |
| minusDuration | 0.10.15993 | 159 | 15001 | 16882 | 34051 | 107113 | 308464 | 404325 | 535296 | 597719 | 597719 |
| minusDuration | 0.10.15850 | 2 | 15018 | 15018 | 15018 | 34648 | 34648 | 34648 | 34648 | 34648 | 34648 |
| minusDuration | 0.10.15313 | 5178 | 33 | 16529.64 | 39215.13 | 147597.2 | 351962.3 | 690069.9 | 864062 | 1072574 | 1747512 |
| minusDuration | 0.10.15062 | 6 | 5003 | 5051 | 5132 | 113850 | 113850 | 113850 | 113850 | 113850 | 113850 |
| minusDuration | 4 | 5001 | 5001 | 5002 | 17309 | 17309 | 17309 | 17309 | 17309 | 17309 |
Follow-up: this is still occurring in later versions; am trying to find a cause.
This can be caused because timeSinceLastAttempt is measuring time since last submitted op attempt, rather than last attempt. So it is not great for verifying the heuristics are behaving as intended. This is because lastAttempt doesn't get set if an error occurs during summarization.