Splunk AppDynamics

Dashboard Metric Expression Calculation Issue

Mikel_Osinalde_
Path Finder

Hi team,

We have a metric expression calculation to plot on the dashboard which very often has no data reported because at least one of the metrics within the expression has null value.

image.png
But seems to be deleted because we cannot access it, neither our AppDynamics Account Manager can.

Does anyone have this article, or otherwise any solution for this issue?

Thanks!

^ Edited by @Ryan.Paredez removed link to archived post

Labels (1)
0 Karma

Ross_Flemer
New Member

I'm looking for the same thread.  Did anyone ever locate and give you the working URL?

0 Karma

Ross_Flemer
New Member

Ryan, 

Can you unarchive the link that provides the solution to this issue?  Looking at the history of this posting I see the following:  "^ Edited by @Ryan.Paredez removed link to archived post"

My issue is the same.  On my dashboard, I have a metric expression with 4 variables.  My metric expression will be " -- " (null) if one of the three is a null.  How do I fix this?  

The "% Slow, Very Slow & Stalled Calls" column is the metric expression.  I've put the expression in the green highlighted callout.  The second row of "% Slow" has a value because all four of the simple expressions (ie.  basic metrics) has a value.  The first one, in my opinion, should have a value.  Meaning, AppD logic should be smart enough to pass through a "0" when "stalled count" is a null.  

Thoughts on how to remediate this issue?

image.pngHow do I configure so the expression evaluates a "null" as a zero?

0 Karma

iamryan
Community Manager
Community Manager

Hi Ross,

I have pulled the old post out of the archive and can be found here:https://community.appdynamics.com/t5/Dashboards/Dashboard-Metric-Expression-Calculation-Issue/td-p/2...

Note this post is old and may not work with newer versions of the controller

0 Karma

Ross_Flemer
New Member

Thank you Ryan.

Based on your response, the implication is that the fix you un-archived would not work on a current controller?  We are running version AppDynamics Controller build 4.4.3.20084.

Do you know of a fix that would work so that "null" would be inturpreted as a Zero?

Ross

0 Karma

Mikel_Osinalde_
Path Finder

I have been informed that the reported issue has been addressed in controller version 20.3.0. There is a property which needs to be enabled for the ER to be effective, so in case of a SaaS controller you need to contact Appdynamics Support team.

In case of an OnPrem controller instead, here the steps to enable it:
1. Login to <controllerURL>/controller/private/ControllerFlagsServlet
2. Use root@system and controller root password for login
3. Look for the following property and set it to 'true'

com.appdynamics.metric.query.metricexpressions.tolerateNull

4. Save it.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...