Updating instance_metrics.rb