Agent configuration reload ClassCastException

Document ID : KB000074875
Last Modified Date : 27/03/2018
Show Technical Document Details
The IntroscopeAgent.log file shows this exception:
3/26/18 08:16:23 AM EDT [ERROR] [IntroscopeAgent.Agent] IntervalHeartbeat.execute threw executing: Configuration Watcher java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at com.wily.introscope.agent.sqlagent.StatementNormalizer$2.set( at at at at at at com.wily.util.ConfigurationWatcher.processContentChange( at com.wily.util.ConfigurationWatcher.ITimestampedRunnable_execute( at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute( at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime( at com.wily.util.heartbeat.IntervalHeartbeat.access$2( at com.wily.util.heartbeat.IntervalHeartbeat$ at
Introscope agent 10.5.2
In this scenario, the customer agent profile was actually 10.5.0 with their own custom configuration although they had a 10.5.2 agent binary.
So this could happen where customers are upgrading the agent and using older agent profiles with their own settings.
Make sure this property is showing in the agent profile, if not, please add it.


It is related to new clamping configuration of SQL statements we have added into the agent since 10.5.2, so that we prevent metric explosions from SQL statements
Once we hit that clamp, any other metrics would be grouped into a 'Default' group. The property can changed dynamically to increase the clamp level.