cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Trim Metric Display Names on a Custom AppDynamics Dashboard

Justin.Smith
New Member

I've created a custom dashboard for one of our clients and each of the entities that I'm reporting on a pie chart displays as such:
{className}.{methodName}

Since the class name is the same for each of the entities that are displayed, the client wants to know if it's possible to trim off className for each of these entities as it isn't very aesthetically pleasing.

 

I'm currently just displaying the entity using ${e} under the Advanced options for Metric Display names and it appears that it won't evaluate regular expressions. Do I have any options to trim this display name or am I doomed?

 

Any advice you can provide will be extremely helpful!

1 REPLY 1

Ryan.Paredez
Community Manager

Hi @Justin.Smith,

 

I did some digging around and found this info.

 

This is a product limitation and we cannot trim the part of the metric path in any way. 
As you are aware we have the below substitution variables as of now:

  • ${#}: Number the displayed metrics based on sorting with the rollup value.
  • ${m}: Metric name.
  • ${e}: Entity name.

 

There is a feature request submitted on this as well. The Idea Exchange is not currently accessible by Trial and Lite users at this time. 

 

https://community.appdynamics.com/t5/Idea-Exchange/Enhance-the-quot-Metric-Display-Name-quot-criteri...

 

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.