Hi Afzaal,
Yes, the metric will be removed after some time. By default this works by the following design:
- If a metric has no new data for 30 days, it will be considered for removal
- Every 24h there is a job running searching for agent metrics to be aged out.
- In every run of this job, a maximum of 500 metrics are being discarded and removed, so finally they do not show up anymore.
So a gray metric should disappear after around 30 days + x in case there are more than 500 metrics/day to be aged out.
This is configurable, please check the Introscope Agent settings for that. Values above are the defaults:
# The time interval in seconds when metrics are checked for removal
# You must restart the managed application before changes to this property take effect.
introscope.agent.metricAging.heartbeatInterval=86400
#
# During each interval, the number of metrics that are checked for metric removal
# Changes to this property take effect immediately and do not require the managed application to be restarted.
introscope.agent.metricAging.dataChunk=500
#
# The metric becomes a candidate for removal when it reaches the number of intervals set (numberTimeslices) and has not invoked any new data points during that period.
# If the metric does invoke a new data point during that period then the numberTimeslices resets and starts over.
# Changes to this property take effect immediately and do not require the managed application to be restarted.
introscope.agent.metricAging.numberTimeslices=180000
Kind regards,
Stefan