Create graph for Physical Memory grouped by states using Grafana, InfluxDB and collectd

SCREENSHOT 11) Set the graph title to the right where is the graph options – Physical Memory.

The query is ready and several graph options follow.

main menu
graph title

SCREENSHOT 12) Set the “Tooltip mode” to “All” to show all the queries’ results for a given time in the tooltip.

main menu
Tooltip mode All

SCREENSHOT 13) Select the legend type “Table” for better visibility.

Scroll down if needed.

main menu
Legend table

SCREENSHOT 14) Add additional values in the legend for the measurements like the current value of the measurements and so on.

Add “Last*” and select another values.

main menu
legend values

SCREENSHOT 15) 4 calculations are selected to be shown in the graph legend – Last, Mean, Min, Max.

These 4 calculations are meaningful for the current measurement – CPU usage. There are many more in the drop-down list.

main menu
legend last mean min max

SCREENSHOT 16) Scrow down to the Graphs styles sub-menu and chose “Always” for the “Connect null values”

If there are some missing values there won’t be gaps in the graphs.

main menu
connect null values

SCREENSHOT 17) Increase the lines width in the graph for better readability.

main menu
Line width

SCREENSHOT 18) The units of the physical memory are bytes in SI standard, so “bytes(SI)” will be OK.

If your system – ARM, RISC-V, or other OS like other Unix systems reports in different units, you may cross-check it with the Query Inspector to find what are the real units.

main menu
Standard options short

SCREENSHOT 19) Apply all the graph modifications.

main menu
Apply graph modifications.

SCREENSHOT 20) The Physical memory usage graph with 6 lines is ready and can be resized.

main menu
Physical memory usage graph ready

Leave a Reply

Your email address will not be published. Required fields are marked *