airtai / faststream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
https://faststream.airt.ai/latest/
Apache License 2.0
3.15k stars 161 forks source link

Fixed RPC for Prometheus metrics #1887

Closed roma-frolov closed 3 weeks ago

roma-frolov commented 3 weeks ago

Description

For RPC, the metrics incorrectly included messages from temporary queues/subjects. Now, when publishing, Reply messages are ignored and when consuming, Response messages are ignored.

Type of change

Checklist