Skip to content

Commit 9a24cf7

Browse files
authored
[OMON-662] Fix send with run method (#318)
1 parent 0d15039 commit 9a24cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backends/InfluxDB.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void InfluxDB::send(const Metric& metric)
8686
void InfluxDB::sendWithRun(const Metric& metric, const std::string& envId, const std::string& run)
8787
{
8888
auto serialized = toInfluxLineProtocol(metric);
89-
serialized.insert(serialized.find(',') + 1, "run=" + run + ",envId=" + envId);
89+
serialized.insert(serialized.find(' ') , ",run=" + run + ",envId=" + envId);
9090
mTransport->send(std::move(serialized));
9191
}
9292

0 commit comments

Comments
 (0)