vvuksan / ganglia-misc Goto Github PK
View Code? Open in Web Editor NEWMisc. Ganglia scripts, add-ons
Misc. Ganglia scripts, add-ons
The option to change how the individual host metrics are scaled in the cluster view falls prey to a classic UI bug - checkboxes in between option descriptions make it unclear which checkbox is associated with which option.
Show Hosts Scaled: Auto [ ] Same [ ] None [ ] | Cluster Name
You are forced to track back to the beginning or end of the list in order to determine whether the checkbox belongs on the right or left side of the option, then go back to the option you want. It's worse with more options:
foo [ ] bar [ ] baz [ ] qux [ ] fie [ ] fum [ ] fo [ ]
When you look at just the middle part ( [ ] baz [ ] qux [ ] fie [ ] ) it is unclear which option to choose.
I recommend changing it away from radio buttons and use normal links instead, boldfacing the currently selected option.
Show Hosts Scaled: Auto Same None | Cluster name
When 0 columns is chosen in the cluster view, the host detail section has one host per row, with the first column being the chosen metric and the 4 columns to the right showing the 4 summary graphs.
When Scale: is set to 'same' (the default), the 4 summary graphs are scaled the same as the chosen metric. This is always incorrect, as graphs like the cpu summary should always be scaled to 100%, etc.
Note that when 'Scale: Auto' is set, the summary graphs appear appropriately.
Hi Vladimir,
I got my hands dirty today to understand what happens with the new and awesome way to define graphs with json.
What I am missing is the possibility to add fudge to them - the aim is to have equal high graphs in the cluster and host overview with medium sized graphs.
{
"report_name" : "load_report",
"report_type" : "standard",
"title" : "Load",
...,
"fudge" : "100" <-- additional hight in pixels
}
if you would change
https://github.com/vvuksan/ganglia-misc/blob/master/ganglia-web/functions.php#L905
to something like that
if( $graph_config['fudge'] ) {
$rrdtool_graph['height'] += ($size == 'medium') ? $graph_config['fudge'] : 0;
} else {
$rrdtool_graph['height'] += ($size == 'medium') ? 28 : 0;
if( $conf['graphreport_stats'] ) {
$rrdtool_graph['height'] += ($size == 'medium') ? 52 : 0;
}
}
all would work for me.
The Ganglia blog says 2.1.7 is out, but I don't see it tagged here. Is it 02eb3d8?
please add an option for legends in the cluster view graphs
In addition to the "inspect" graph link, it would be useful to reinstate the "decompose" view (allowing individual metrics to be viewed as individual graphs). For large numbers of composite metrics, the inspect view is less useful than the decompose view.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.