[ 
https://issues.apache.org/jira/browse/TS-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

acache updated TS-2725:
-----------------------

    Description: 
When using the transform in the plugins, the query results from traffic_line is 
incorrect.
For example,proxy.node.http.origin_server_total_response_bytes will becomes 
very slow growth when using the transform in the plugins.
test :
origin server:127.0.0.1:80(nginx);
ats(4.2.0) never-cache;
qps:25
request file: 25M
Tsar is a tool,qurey results by command traffic_line.
[root@ats plugins]# http_load -proxy 127.0.0.1:8080 -p 50 -seconds 120 
/root/test.txt

[root@ats plugins]#cat /root/test.txt
http://127.0.0.1/vlive.qqvideo.tc.qq.com/2.mp4

the results using  transform(used null-transform,do nothing):
[root@ats plugins]# tsar --ts --ts_os -l
----ts------    --ts_os-------- 
qps   Bps     qps   Bps
4.00 112.8M 4.00 964.00
4.20 112.8M 4.20 964.00
3.80 107.2M 3.80 915.80
4.20 112.8M 4.20 964.00
3.80 107.2M 3.80 915.80
4.00 107.2M 4.00 915.80
4.00 112.8M 4.00 964.00
4.00 107.2M 4.00 915.80
4.00 112.8M 4.00 964.00
4.20 112.8M 4.20 964.00
4.20 118.4M 4.20 1.0K
4.20 112.8M 4.20 964.00
4.20 118.4M 4.20 1.0K
4.00 107.2M 4.00 915.80
```
without transform:
```
[root@ats plugins]# tsar --ts --ts_os -l
----ts----   --ts_os-------- 
qps  Bps  qps   Bps
25.60 716.3M 25.60 716.3M
24.60 693.7M 24.60 693.7M
25.20 705.0M 25.20 705.0M
24.80 699.4M 24.80 699.4M
25.60 716.3M 25.60 716.3M
25.00 705.0M 25.00 705.0M
25.40 710.7M 25.40 710.7M
24.80 699.4M 24.80 699.4M
25.00 699.4M 25.00 699.4M
24.60 693.7M 24.60 693.7M   
```

  was:
When using the transform in the plugins, the query results from traffic_line is 
incorrect.
For example,proxy.node.http.origin_server_total_response_bytes will becomes 
very slow growth when using the transform in the plugins.
test :
origin server:127.0.0.1:80(nginx);
ats(4.2.0) never-cache;
qps:25
request file: 25M
Tsar is a tool,qurey results by command traffic_line.

the results using  transform(used null-transform,do nothing):
[root@ats plugins]# tsar --ts --ts_os -l
----ts------    --ts_os-------- 
qps   Bps     qps   Bps
4.00 112.8M 4.00 964.00
4.20 112.8M 4.20 964.00
3.80 107.2M 3.80 915.80
4.20 112.8M 4.20 964.00
3.80 107.2M 3.80 915.80
4.00 107.2M 4.00 915.80
4.00 112.8M 4.00 964.00
4.00 107.2M 4.00 915.80
4.00 112.8M 4.00 964.00
4.20 112.8M 4.20 964.00
4.20 118.4M 4.20 1.0K
4.20 112.8M 4.20 964.00
4.20 118.4M 4.20 1.0K
4.00 107.2M 4.00 915.80
```
without transform:
```
[root@ats plugins]# tsar --ts --ts_os -l
----ts----   --ts_os-------- 
qps  Bps  qps   Bps
25.60 716.3M 25.60 716.3M
24.60 693.7M 24.60 693.7M
25.20 705.0M 25.20 705.0M
24.80 699.4M 24.80 699.4M
25.60 716.3M 25.60 716.3M
25.00 705.0M 25.00 705.0M
25.40 710.7M 25.40 710.7M
24.80 699.4M 24.80 699.4M
25.00 699.4M 25.00 699.4M
24.60 693.7M 24.60 693.7M   
```


> When using the transform in the plugins, the query results from traffic_line 
> is incorrect
> -----------------------------------------------------------------------------------------
>
>                 Key: TS-2725
>                 URL: https://issues.apache.org/jira/browse/TS-2725
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Metrics
>    Affects Versions: 4.2.0
>         Environment: centos6
>            Reporter: acache
>
> When using the transform in the plugins, the query results from traffic_line 
> is incorrect.
> For example,proxy.node.http.origin_server_total_response_bytes will becomes 
> very slow growth when using the transform in the plugins.
> test :
> origin server:127.0.0.1:80(nginx);
> ats(4.2.0) never-cache;
> qps:25
> request file: 25M
> Tsar is a tool,qurey results by command traffic_line.
> [root@ats plugins]# http_load -proxy 127.0.0.1:8080 -p 50 -seconds 120 
> /root/test.txt
> [root@ats plugins]#cat /root/test.txt
> http://127.0.0.1/vlive.qqvideo.tc.qq.com/2.mp4
> the results using  transform(used null-transform,do nothing):
> [root@ats plugins]# tsar --ts --ts_os -l
> ----ts------    --ts_os-------- 
> qps   Bps     qps   Bps
> 4.00 112.8M 4.00 964.00
> 4.20 112.8M 4.20 964.00
> 3.80 107.2M 3.80 915.80
> 4.20 112.8M 4.20 964.00
> 3.80 107.2M 3.80 915.80
> 4.00 107.2M 4.00 915.80
> 4.00 112.8M 4.00 964.00
> 4.00 107.2M 4.00 915.80
> 4.00 112.8M 4.00 964.00
> 4.20 112.8M 4.20 964.00
> 4.20 118.4M 4.20 1.0K
> 4.20 112.8M 4.20 964.00
> 4.20 118.4M 4.20 1.0K
> 4.00 107.2M 4.00 915.80
> ```
> without transform:
> ```
> [root@ats plugins]# tsar --ts --ts_os -l
> ----ts----   --ts_os-------- 
> qps  Bps  qps   Bps
> 25.60 716.3M 25.60 716.3M
> 24.60 693.7M 24.60 693.7M
> 25.20 705.0M 25.20 705.0M
> 24.80 699.4M 24.80 699.4M
> 25.60 716.3M 25.60 716.3M
> 25.00 705.0M 25.00 705.0M
> 25.40 710.7M 25.40 710.7M
> 24.80 699.4M 24.80 699.4M
> 25.00 699.4M 25.00 699.4M
> 24.60 693.7M 24.60 693.7M   
> ```



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to