You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use case: client-side rendering. if I know I'm going to render an X-pixels wide graph, I could specify this to graphite and have graphite consolidate the data before submitting as raw/csv/json, saving considerable bandwith (and arguably there is some benefit in not having to implement the same in all different client side plotting libraries)
I tried to see if this already works, but it seems like it doesn't have any effect:
$ > curl 'http://$host/render/?from=-10hour&until=now&target=cumulative(servers.dfvimeodfsproxy1.network.em1.rx_bit)&format=json&width=2' | jsonpp > out-cumul
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14399 0 14399 0 0 269k 0 --:--:-- --:--:-- --:--:-- 342k
$ > curl 'http://$host/render/?from=-10hour&until=now&target=servers.dfvimeodfsproxy1.network.em1.rx_bit&format=json&width=2' | jsonpp > out
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14387 0 14387 0 0 363k 0 --:--:-- --:--:-- --:--:-- 468k
$ > diff out out-cumul
diff --git a/out b/out-cumul
index bc516bd..ebdb2ce 100644
--- a/out
+++ b/out-cumul
@@ -2402,6 +2402,6 @@
1360621920
]
],
- "target": "servers.dfvimeodfsproxy1.network.em1.rx_bit"
+ "target": "cumulative(servers.dfvimeodfsproxy1.network.em1.rx_bit)"
}
]
$ >
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
use case: client-side rendering. if I know I'm going to render an X-pixels wide graph, I could specify this to graphite and have graphite consolidate the data before submitting as raw/csv/json, saving considerable bandwith (and arguably there is some benefit in not having to implement the same in all different client side plotting libraries)
I tried to see if this already works, but it seems like it doesn't have any effect:
The text was updated successfully, but these errors were encountered: