Add OpenTelemetry GenAI metrics instrumentation for AI client operations
Add OpenTelemetry GenAI metrics instrumentation for AI client operations: a task in LegoFlow-SWE (Harbor dataset). The instrumentation must integrate with the existing instrumenter lifecycle, meaning it should hook into the OperationListener interface at appropriate phases: before the operation…
The task
The instrumentation must integrate with the existing instrumenter lifecycle, meaning it should hook into the `OperationListener` interface at appropriate phases: before the operation begins, after it starts, before it ends, and after it ends.
Part of Lego-X/LegoFlow-SWE.