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.
12-03-2020 01:50 AM - edited 12-03-2020 01:59 AM
Hello,
I have configured MIDC(Method Invocation Data Collectors) on an application, to collect the status of orders, but the value is in numbers, how can I map numbers to string to create a meaningful dashboard.
for example:
1 ==> "Pending"
2==> "Approved"
3==> "Rejected"
Solved! Go to Solution.
12-03-2020 02:20 AM
Hi Mohamed
you can use the replaceAll Function
.toString().replaceAll(1,Pending).replaceAll(2,Approved).replaceAll(3,Rejected)
Ciao
User | Count |
---|---|
2 | |
2 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form