[PECOBLR-1381][PECOBLR-1382] Implement telemetry Phase 6-7: Collection, Aggregation & Driver Integration #320
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This stacked PR builds on #319 and implements Phases 6-7 of the telemetry system, completing the full pipeline.
Stack: Part 2 of 2
Phase 6: Metric Collection & Aggregation ✅
New Files
errors.go(108 lines)isTerminalError()- Non-retryable error detectionclassifyError()- Error categorizationinterceptor.go(146 lines)BeforeExecute()/AfterExecute()hooksaggregator.go(242 lines)client.go(updated)Phase 7: Driver Integration ✅
Configuration Support
internal/config/config.go(+18 lines)EnableTelemetryfieldForceEnableTelemetryfieldDeepCopy()supportConnection Integration
connection.go,connector.go(+20 lines)connstructConnect()Close()Helper Module
driver_integration.go(59 lines)InitializeForConnection()- SetupReleaseForConnection()- CleanupIntegration Flow
Changes
Total: +1,073 insertions, -48 deletions (13 files)
Phase 6:
telemetry/errors.go(108 lines) - NEWtelemetry/interceptor.go(146 lines) - NEWtelemetry/aggregator.go(242 lines) - NEWtelemetry/client.go(+27/-9) - MODIFIEDPhase 7:
telemetry/driver_integration.go(59 lines) - NEWinternal/config/config.go(+18) - MODIFIEDconnection.go(+10) - MODIFIEDconnector.go(+10) - MODIFIEDtelemetry/DESIGN.md- MODIFIEDTesting
All tests passing ✅
Usage Example
Related Issues
Checklist