AnsweredAssumed Answered

Javascript question (counting metrics/subtrees)

Question asked by Russ_Russell on Mar 19, 2014
Latest reply on Mar 26, 2014 by Russ_Russell

This should be very easy, but I cannot seem to get it to work.

I just want to be able to graph the total number of sub directories I have in my custom instrumentation tree. I'm trying to do it via a javascript calculator since I can't seem to figure out any other way to do it.

So for example, if my custom instrumentation folder looks like the following:

My resulting graph would show a value of 2.

Anyone done anything like this? Am I trying to do something that I can already do another way? I want to be able to do this across multiple servers and add all the numbers together.

Thanks.

Outcomes