Skip to content

Commit

Permalink
Do not transmit metric twice when using derived mode (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Apr 9, 2020
1 parent f0cb0e5 commit 205b2dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Monitoring.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ void Monitoring::send(Metric&& metric, DerivedMetricMode mode)
if (mode != DerivedMetricMode::NONE) {
try {
mDerivedHandler->process(metric, mode);
transmit(std::move(metric));
} catch (MonitoringException& e) {
MonLogger::Get() << e.what() << MonLogger::End();
}
Expand Down

0 comments on commit 205b2dc

Please sign in to comment.