Splunk AppDynamics

It must be a valid long.

Eddie_Seddon
New Member

Hi ,

I have created my own extension for load of a machine, I know they already exist but it is a learning curve for me.

The problem I have is the values of the metrics are 0.2 and I get an error of :

"WARN MetricOutputHandler - Caught NumberFormatException due to invalid metric value: 0.30 It must be a valid long. Full monitor line: name=Custom Metrics|LOAD_Monitor|LOAD_AVG_1min, value=0.30"

Is there a way I can return decimals?

Thanks

Eddie

Labels (1)
0 Karma

Nawaz_Ali_Moha1
Contributor

Hello Eddie,

There is an internal enhancement request for controller to support floating point metrics

0 Karma

sadat_khan
Engager

Hi, @Nawaz Ali.Mohammad 

Is there an eta for this?

0 Karma
Get Updates on the Splunk Community!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...