Skip to content

Commit 7b6b1dc

Browse files
committed
Fix the build error
1 parent 3050dfd commit 7b6b1dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporters/statsd/src/exporter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ void Exporter::SendMetrics(std::string metric_name, MetricsEventType type, Value
161161

162162
message = metric_name + ":" + value + "|" +
163163
MetricsEventTypeToString(type);
164-
data_transport_->Send(message.c_str(), message.size());
164+
data_transport_->Send(type, message.c_str(), message.size());
165165
}
166166

167167
bool Exporter::ForceFlush(std::chrono::microseconds timeout) noexcept {

0 commit comments

Comments
 (0)