Quantcast
Viewing latest article 8
Browse Latest Browse All 10

Advanced Graphing (Part3): Right Y-axis & Log scales

@torkel wrote:

Right Y-Axis

Sometimes it’s useful to graph time series that differ by orders of magnitude but are still related or correlated. For example memory and CPU usage. Grafana allows you to assign series to a second (Right) Y-axis which can have separate unit & scale.

You can assign a series to the Right Y-Axis by clicking on the colored line icon to the left of the series name in the graph legend.
Image may be NSFW.
Clik here to view.

Example graph:

Log scale

Another way visualize series that differ by orders of magnitude is to use a logarithmic scales. This is really useful for data usage or latency measurements. The goal here is to avoid one series dominating and delegating all the others to the bottom of the graph.

Example with default linear scale:

As you can see in the above graph the used series is so much higher than the other series that you cannot distinguish between the other two as they are both delegated to the bottom pixels of the graph.

To switch to a logarithmic scale go into edit mode (just press e on keyboard while hovering over panel) and Axes tab.
Image may be NSFW.
Clik here to view.

Result:

Now all series are visible and we can actually see the difference between them.

Posts: 5

Participants: 5

Read full topic


Viewing latest article 8
Browse Latest Browse All 10

Trending Articles