Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to combine ping and tcp rtt onto one axis? #173

Closed
heistp opened this issue Jul 24, 2019 · 1 comment
Closed

How to combine ping and tcp rtt onto one axis? #173

heistp opened this issue Jul 24, 2019 · 1 comment

Comments

@heistp
Copy link
Contributor

heistp commented Jul 24, 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?

@tohojo
Copy link
Owner

tohojo commented Jul 25, 2019 via email

@tohojo tohojo closed this as completed in 1ff2d17 Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants