Skip to content

Commit 290f289

Browse files
authored
Merge pull request #712 from uro/hotfix/fix-invalid-write-format
Monitoring - Fixed influxdb write on sentMessageStats
2 parents 845aff5 + 64af795 commit 290f289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InfluxDbStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function pushSentMessageStats(SentMessageStats $stats): void
155155
}
156156

157157
$points = [
158-
new Point($this->config['measurementSentMessages'], null, $tags, [], $stats->getTimestampMs()),
158+
new Point($this->config['measurementSentMessages'], 1, $tags, [], $stats->getTimestampMs()),
159159
];
160160

161161
$this->getDb()->writePoints($points, Database::PRECISION_MILLISECONDS);

0 commit comments

Comments
 (0)