Skip to content

Commit

Permalink
Fix sum aggregator in its metric (ray-project#8724)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashione authored Jun 2, 2020
1 parent dc3e988 commit 64a98e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray/stats/metric.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void Sum::RegisterView() {
.set_name(name_)
.set_description(description_)
.set_measure(name_)
.set_aggregation(opencensus::stats::Aggregation::Count());
.set_aggregation(opencensus::stats::Aggregation::Sum());

RegisterAsView(view_descriptor, tag_keys_);
}
Expand Down

0 comments on commit 64a98e4

Please sign in to comment.