Skip to content

Commit

Permalink
[OMON-662] Fix send with run method (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Apr 4, 2023
1 parent 0d15039 commit 9a24cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/InfluxDB.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void InfluxDB::send(const Metric& metric)
void InfluxDB::sendWithRun(const Metric& metric, const std::string& envId, const std::string& run)
{
auto serialized = toInfluxLineProtocol(metric);
serialized.insert(serialized.find(',') + 1, "run=" + run + ",envId=" + envId);
serialized.insert(serialized.find(' ') , ",run=" + run + ",envId=" + envId);
mTransport->send(std::move(serialized));
}

Expand Down

0 comments on commit 9a24cf7

Please sign in to comment.