# File lib/new_relic/agent/stats_engine/metric_stats.rb, line 189 def harvest! now = Time.now snapshot = reset! snapshot = apply_rules_to_metric_data(@metric_rules, snapshot) snapshot.harvested_at = now snapshot end