feat(metrics): lab6 expose per-queue RabbitMQ metrics

This commit is contained in:
Голиков Maximillian Антон
2026-11-17 17:24:30 +03:00
parent 6f37282ee8
commit 2f0906cbd7
5 changed files with 12 additions and 0 deletions
+1
View File
@@ -99,6 +99,7 @@ func (p *RabbitPublisher) Publish(ctx context.Context, routingKey string, body [
ContentType: "application/json",
DeliveryMode: amqp.Persistent,
Body: body,
Timestamp: time.Now().UTC(),
})
if err != nil {
return err