If you know the position in the image of the graph and the date range of the graph, you can moderately easily work out a date/time from an X coordinate, a range is just doing that twice.
None of us really do much JS, so don’t have any way to implement it.
Though honestly, I’ve never once used zooming functionality on any RRDtool-based tool and found it to be very useful because of the aggregation and data resolution.
Adam.
From: Milton Ngan <milton@valvesoftware.com>
Sent: 07 January 2020 19:41
To: Observium <observium@observium.org>
Cc: Adam Thompson <athompson@merlin.mb.ca>; Justin Radke <justin.radke@directlink.coop>; Adam Armstrong <adama@memetic.org>
Subject: Re: Feature Request - Interactive Graphs
If all you want is the ability to "zoom" into the graphs, Smokeping uses some javascript to allow you to select across the graph which translates to a time range and fetches a new graph within the selected time frame. Most of the work required is in the Javascript side. I have a custom dashboard using Observium graphs that uses the Smokeping code to allow custom time selection.
If you want interactive graphs like Grafana where you can peek at values under your cursor, that is something else entirely.
From: observium <observium-bounces@observium.org> on behalf of Adam Thompson via observium <observium@observium.org>
Sent: Friday, December 20, 2019 7:19:56 AM
To: Observium
Cc: Adam Thompson; Justin Radke; Adam Armstrong
Subject: Re: [Observium] Feature Request - Interactive Graphs
I get what you’re saying about needing support in the underlying tools & libs.
But… how does Smokeping do it, then? It’s also based on RRDtool. If they have a custom graph-rendering front-end, then oh well. But if they’ve managed to layer on top of standard rrdtool libs, it would open up a possible avenue for investigation. Y’know, in your spare time :-).
-Adam
Adam Thompson
Consultant, Infrastructure Services
100 - 135 Innovation Drive
Winnipeg, MB, R3T 6A8
(204) 977-6824 or 1-800-430-6404 (MB only)
athompson@merlin.mb.ca
www.merlin.mb.ca
From: observium <observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium
Sent: Thursday, December 19, 2019 5:41 PM
To: Justin Radke via observium <observium@observium.org>
Cc: Adam Armstrong <adama@memetic.org>; Justin Radke <justin.radke@directlink.coop>
Subject: Re: [Observium] Feature Request - Interactive Graphs
This isn't something that can be easily added because of how graphs are generated.
It's trivial with a graphing system that supports it and next to impossible with one that doesn't.
Since we use RRDtool as our metric storage system, we don't have efficient direct access to the data and rely on RRDtool itself to generate the images.
Adam.
Sent from BlueMail
On 19 Dec 2019, at 23:36, Justin Radke via observium <observium@observium.org> wrote:
Hello, I have been a user of Observium for quite some time and currently paid subscriber, I have always wanted to see interactive graphs to improve usability. What I am asking for specifically is the ability to:
- Hover the mouse cursor over the graph and have it show pop-up boxes with info that show the current value for that vertex on the graph.
- The ability to select a time window by clicking and dragging the cursor across the graph.
This functionality is commonly seen on stock graphs such as finance.yahoo.com or finance.google.com where you can view values across the timeline and select time ranges by highlighting them on the graph with the mouse cursor.
Is this a feature that can be added to Observium? Also, if this is not the appropriate method to issue feature requests please kindly direct me towards the proper method.
Regards,
-=JGR
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium