Closed roma-frolov closed 3 days ago
If you use one register for several middleware, then a metric registration conflict occurs.
Error:
ValueError: Duplicated timeseries in CollectorRegistry: {'faststream_received_messages_created', 'faststream_received_messages', 'faststream_received_messages_total'}
The error occurs here when trying to register a duplicate metric into a register
scripts/lint.sh
scripts/test-cov.sh
scripts/static-analysis.sh
I think, we shouldn't rash with this PR and take a break to discuss the problem
@draincoder can you help us here?
Description
If you use one register for several middleware, then a metric registration conflict occurs.
Error:
The error occurs here when trying to register a duplicate metric into a register
Type of change
Checklist
scripts/lint.sh
shows no errors)scripts/test-cov.sh
scripts/static-analysis.sh