DataDog / datadog-ci-rb

Ruby library for Datadog test visibility
https://docs.datadoghq.com/continuous_integration/tests/ruby
Other
8 stars 4 forks source link

[SDTEST-160] Implement code coverage metrics for internal telemetry #203

Closed anmarchenko closed 2 months ago

anmarchenko commented 3 months ago

What does this PR do? Adds code coverage metrics to internal telemetry.

Additional Notes Note that code_coverage.errors metric is unused and remove. Code coverage collection in this library is "error-free" as any potential fatal bug in native extension will most likely cause segfault and crash of the Ruby process.

How to test the change? Unit tests are provided