#3297 fix: Honor the `_LOG_REQUEST_METRICS` stream parameter
Pull request opened by
edgarrmondragon
Closes
#2896.
## Summary by Sourcery
Honor the _LOG_REQUEST_METRICS flag when logging HTTP request metrics and add tests to verify metrics emission behavior
Bug Fixes:
• Add an early return in _write_request_duration_log to skip duration logging when _LOG_REQUEST_METRICS is False
Documentation:
• Update parameter descriptions in _write_request_duration_log docstring
Tests:
• Add tests to verify that enabling _LOG_REQUEST_METRICS produces both duration and count metrics
• Add tests to confirm that disabling _LOG_REQUEST_METRICS emits only the count metric
meltano/sdk