Closed anmarchenko closed 4 months ago
Attention: Patch coverage is 96.81529%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 98.83%. Comparing base (
9cd40ca
) to head (6002775
).
Files | Patch % | Lines |
---|---|---|
lib/datadog/ci/git/local_repository.rb | 91.80% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do? Adds telemetry metrics collection to git commands
Additional Notes This change caused curious fail: one must not access Telemetry when the library is initialized. We previously collected environment tags during the library initialization stage, which might include using git commands. I made the environment tags collection lazy, so it does not happen until at least one span is traced.
How to test the change? Unit tests are provided