Infrastructure (Server, Network, Database)

cancel
Showing results for 
Search instead for 
Did you mean: 

It must be a valid long.

Eddie.Seddon
Adventurer

It must be a valid long.

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

It must be a valid long.
1 REPLY 1
Nawaz Ali.Mohammad
AppDynamics Team

Re: It must be a valid long.

Hello Eddie,

 

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