Closed RyanKadri closed 5 months ago
I ended up just manually converting from seconds to ms where we were referencing the trace duration. LMK if you want this to be in a shared function somewhere
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.68%. Comparing base (
b75ea43
) to head (bc7085c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
We tend to do manual conversion throughout the agent as well so this approach is fine. We can always create a common utility function down the road after this PR gets merged.
Overview
In order to match behavior across agents, the python agent should report the
duration
field on AI Monitoring events in milliseconds rather than seconds.Testing
The test suite does not currently check the
duration
field because the integration tests have variability between runs