I created a custom Measure- Methods-Return value as I want to obtain the string values returned by the method. However when I try to chart the value of that measure, I am unable to see it. Can someone please tell me what additional thing I need to do. I am using DynaTrace 5.5 and PSM 3.0
Answer by PTC S. ·
This is the MBean information I need to display. Please let me how to do it.
I am cross referencing your second forum post that you created to that topic: How to display the value from ActiveUsers MBean attribute in my dashboard?
Answer by PTC S. ·
Thanks Andreas and Herwig for the quick response.
My actual requirement is to display a list of active users in the application being monitored by PSM. this list of active users is being returned by a method which I mapped in the measure- Methods Return value. I need to see this list of names on the dashboard. I am able to get the total count of active users by creating a custom JMX measure. But I am unable to show the names of the users that are logged in. Please help me in achieving this....
Answer by Andreas G. ·
Hi.
These types of Measures cannot be charted by default as these types of values typically return an alphanumeric value, e.g: a string representation of an argument or return value. in order to chart a numeric value you need to use this measure as a Result Measure of a Business Transaction. I know - its a little extra effort - but - this is the way it has to be done in the moment. So - create a Business Transaction and add this measure into the list of Results. If you are only interested in that return value I suggest you uncheck Failure Rate and Response Time to avoid creating too many measures.
You may also want to add an additional Method Invocation measure with an upper severe threshold of 1 as a Filter Measure to this BT. that means that the BT only looks at PurePaths that invoke that method and will then return the value as a Result.
Also make sure that in the Method Return Measure you choose "Numeric" as Evaluation. Default is String
Hope this helps
JANUARY 15, 3:00 PM GMT / 10:00 AM ET