blob: 33c37d0231887dcceab614501e473126a55e14a0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
/stats/svg serves various graphs of issue statistics. Some of the supported query parameters are:
<ul>
<li><code>xscale</code>
<ul>
<li><code>xscale=log</code> - log scale</li>
<li><code>xscale=lin</code> - linear scale.</li>
</ul></li>
<li><code>x{min,max}</code> - set min and max for scale. Only take effect if xscale is also supplied.</li>
<li><code>y{scale,min,max}</code> - same as x* but for y axis</li>
<li><code>pivot</code> - predefined graphs
<ul>
<li><code>pivot=opencount</code> - plot number of open issues over time. With <code>group=release</code> plots the number of open issues by release over time.</li>
<li>Unspecified - plot number of issues by bucket
<ul>
<li><code>filter</code>
<ul>
<li><code>filter=open</code> - only open issues</li>
<li><code>filter=closed</code> - only closed issues</li>
</ul>
</li>
<li><code>column</code> - column to bucket issues by
<ul>
<li><code>column={Created,Closed,Updated}{,Day,Week,Month,Year}</code> - time, day, week, month, or year the issue was created, closed, or updated</li>
<li><code>column=UpdateAge</code> - time since issue was last updated</li>
</ul>
</li>
<li><code>agg</code> - how to aggregate issues
<ul>
<li><code>agg=count</code> or unspecified - count of issues for each distinct value of <code>column</code></li>
<li><code>agg=ecdf</code> - CDF of values</li>
<li><code>agg=bin</code> - automatically chosen histogram bins</li>
<li><code>agg=density</code> - best fit PDF of values</li>
<li><code>agg=percentile</code> - plots percentiles of a second column (currently hardcoded to <code>Open</code>), over a moving window (defaulting to 30 days)
<ul>
<li><code>window=24h</code> - time.Duration over which to window percentiles</li>
</ul>
</li>
</ul>
</ul>
</li>
</ul>
</li>
</ul>
</body>
</html>