<#3283 refactor: Pass around raw `Point` instance ...
# meltano-repo-activity
g
#3283 refactor: Pass around raw `Point` instance for metrics Pull request opened by edgarrmondragon SSIA. ## Summary by Sourcery Refactor metric logging to use raw Point instances instead of dict representations Enhancements: • Pass raw Point instances as log record arguments for METRIC logs and update metrics.log to use the new signature • Rework StructuredFormatter and ConsoleFormatter to detect "METRIC: %s" messages and serialize metric info from Point instances • Update MetricExclusionFilter to filter based on Point object attributes rather than dictionary entries • Add str to Point for compact JSON serialization Tests: • Revise test_metrics and test_structured_formatter to use Point fixtures and assert record.args contains Point instances meltano/sdk