summaryrefslogtreecommitdiff
path: root/docs/examples/jarmon_example_recipes.js
diff options
context:
space:
mode:
authorRichard Wall <richard@the-moon.net>2013-06-14 16:37:54 +0100
committerRichard Wall <richard@the-moon.net>2013-06-14 16:37:54 +0100
commit0b4e3665a016d40a1fbf47a8542cb6a022096e1c (patch)
treeb0e6943bd02edb3f65af0bcc9955c94cb38995f9 /docs/examples/jarmon_example_recipes.js
parent4a41ade5990aae01e2ed39404ea5d2d12ce6bcae (diff)
hack things around to allow independent ds transformers, even when they are in the same RRD file
Diffstat (limited to 'docs/examples/jarmon_example_recipes.js')
-rw-r--r--docs/examples/jarmon_example_recipes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/jarmon_example_recipes.js b/docs/examples/jarmon_example_recipes.js
index 7acfa8d..524515b 100644
--- a/docs/examples/jarmon_example_recipes.js
+++ b/docs/examples/jarmon_example_recipes.js
@@ -54,8 +54,8 @@ jarmon.CHART_RECIPES_COLLECTD = {
'interface': {
title: 'Wlan0 Throughput',
data: [
- ['data/interface/if_octets-wlan0.rrd', 'tx', 'Transmit', 'bit/s', function (v) { return v*8; }],
- ['data/interface/if_octets-wlan0.rrd', 'rx', 'Receive', 'bit/s', function (v) { return v*8; }]
+ ['data/interface-wlan0/if_octets.rrd', 'tx', 'Transmit', 'bit/s', function (v) { return -v*8; }],
+ ['data/interface-wlan0/if_octets.rrd', 'rx', 'Receive', 'bit/s', function (v) { return v*8; }]
],
options: jQuery.extend(true, {}, jarmon.Chart.BASE_OPTIONS)
},