Displaying Linux mount %available with data coming from AppDynamics

  • What Grafana version and what operating system are you using? v9.0.5

  • What are you trying to achieve?
    We would like to be able to show linux mount %available with data coming from AppDynamics

  • How are you trying to achieve it?
    We can get Space Available and Space Used for each mount to display through normal queries.

  • What happened?
    When we tried to use expressions to add Space Available and Space Used together for even one node and one mount, we got a Query: 500 error.

  • What did you expect to happen?
    We expected to see total space.

  • Can you copy/paste the configuration(s) that you are having problems with?
    Application Infrastructure Performance|AppD tier|Individual Nodes|server name|Hardware Resources|Disks|dev-dm-3|Space Available

Application Infrastructure Performance|AppD tier|Individual Nodes|server name|Hardware Resources|Disks|dev-dm-3|Space Used

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    Query 500 Error
  • Did you follow any online instructions? If so, what is the URL?

Which plugin are you using to fetch data from AppDynamics?

It is AppDynamics v3.0.2

Some plugins do not have expressions implemented.
Try transformation using : add field from calculation.

So, that allows me to create and display the total disk space. Thank you. Any hints on how to now calculate %used if I can’t use expressions?

image

That is the %difference between used and available. We need something like (used * 100) / (used + avail). Is this possible in Transforms? It breaks the panel when trying it in an expression.

very ugly

You the man!! This works, but yes, a lot of manual inputs for linux mounts.

1 Like