Different transformer functions on one RRD bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jarmon |
Confirmed
|
Medium
|
Richard Wall |
Bug Description
I wanted to plot a network diagram with Tx-data heading up (above 0) and Rx-data heading down (below 0) for more clarity. Unfortunately I've got both Tx and Rx in the same RRD file, so I got something like:
['data/
['data/
This results in both tx/rx heading up, but this:
['data/
['data/
...results in both rx/tx heading down.
It seems Jarmon applies transformer function only for the first time (considering one RRD file) and ignores it after.
Is it easily repairable?
Thanks in advance
Peter
Related branches
- Petr P (community): Approve (functional testing)
- Richard Wall: Needs Resubmitting (functional testing)
-
Diff: 178 lines (+26/-25)2 files modifieddocs/examples/jarmon_example_recipes.js (+2/-2)
jarmon/jarmon.js (+24/-23)
description: | updated |
description: | updated |
Hi Petr,
I didn't get a notification about your bug report but I just I got your email. Sorry for the delayed reply.
It looks like you're right; only the first transformer function gets applied.
I'll see if I can fix it by making transformer an argument of RrdQueryDsProxy rather than RrdQuery.
I'll keep you posted.
Thanks for your bug report and thanks for using Jarmon!
-RichardW.