Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
add the longest and short cost time
Browse files Browse the repository at this point in the history
add the longest and short cost time
  • Loading branch information
徐长龙 committed Jun 29, 2017
1 parent 9c9bab3 commit c08d600
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions server/src/main/resources/templates/apistatisticday.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@
{
type: 'value',
position: 'left'
},
{
type: 'value',
position: 'right'
}
],
series: [
Expand Down Expand Up @@ -385,6 +389,28 @@
]
},
{
name: '最慢响应',
type: 'line',
yAxisIndex: 1,
data: [
<#list urllist as key,item>
${(item.getLongestTime()*1000)?string('#.#')},
</#list>
0
]
},
{
name: '最快响应',
type: 'line',
yAxisIndex: 1,
data: [
<#list urllist as key,item>
${(item.getShortestTime()*1000)?string('#.#')},
</#list>
0
]
},
{
name: 'HTTP Code',
type: 'pie',
Expand Down

0 comments on commit c08d600

Please sign in to comment.