[Flent-users] [tohojo/flent] How to combine ping and tcp rtt onto one axis? (#173)

Pete Heist notifications at github.com
Thu Jul 25 01:00:21 EEST 2019


In tcp_nup.conf, I'm trying to create a dual axis plot that combines delivery rate on one axis along with ping and TCP RTT on the second axis, attempting like this:

```
    ('tcp_delivery_with_ping_and_tcp_rtt',
     {'description': 'TCP delivery rate with ping and TCP RTT',
                  'type': 'timeseries',
                  'dual_axes': True,
                  'series': [
                        {'data': glob('TCP**', exclude=['*fairness*']),
                         'raw_key': 'tcp_delivery_rate',
                         'label': 'Delivery rate'},
                        {'data': glob('Ping (ms) *'),
                         'label': 'Ping (ms)',
                         'axis': 2},
                        {'data': glob('TCP**', exclude=['*fairness*']),
                         'axis': 2,
                         'raw_key': 'tcp_rtt',
                         'label': 'TCP RTT'}]}),
```

But what I get when I try to display the plot is:

```
ERROR: Aborting plotting due to error: Plot axis unit mismatch: ms/Mbits/s
```

I tried setting units to 'ms' explicitly on the ping and TCP RTT data series, but that didn't fix it. Is this possible to do somehow?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flent.org/pipermail/flent-users_flent.org/attachments/20190724/c45a23cf/attachment.html>


More information about the Flent-users mailing list