Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
09-19-2023 06:04 AM
I have created an Information Point which basically works so now I also want to create a metric based on the return value.- Only thing is that the return value is a Boolean so how do I cast it to an Integer (with a Getter Chain I suppose)?
Solved! Go to Solution.
09-20-2023 12:55 AM
Hi Hendrik, you can use normal toInt() or toString() for text values
Example
getBody().toInt()
or
getBody().toInteger()
Can't remember 100% if it's toInt()or toInteger()
09-26-2023 01:46 AM
Thank you.
I got this to work based on a .Net application:
ReturnValue.Success().Convert.ToInt32()
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form