We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07bc1e commit 8d32efbCopy full SHA for 8d32efb
InfluxDbStorage.php
@@ -160,6 +160,16 @@ public function pushConsumedMessageStats(ConsumedMessageStats $stats): void
160
'status' => $stats->getStatus(),
161
];
162
163
+ $properties = $stats->getProperties();
164
+
165
+ if (false === empty($properties[Config::TOPIC])) {
166
+ $tags['topic'] = $properties[Config::TOPIC];
167
+ }
168
169
+ if (false === empty($properties[Config::COMMAND])) {
170
+ $tags['command'] = $properties[Config::COMMAND];
171
172
173
$values = [
174
'receivedAt' => $stats->getReceivedAtMs(),
175
'processedAt' => $stats->getTimestampMs(),
0 commit comments