app/controllers/prosperity/metrics_controller.rb in prosperity-0.0.2 vs app/controllers/prosperity/metrics_controller.rb in prosperity-0.0.3

- old
+ new

@@ -43,10 +43,11 @@ json = { data: ext.to_a, key: ext.key, label: ext.label, - start_time: start_time.iso8601, + start_time: p.actual_start_time(start_time).iso8601, + end_time: p.actual_end_time(end_time).iso8601, period_milliseconds: p.duration * 1000 } render json: json end private