DataDog / datadog-ci-rb

Ruby library for Datadog Test Optimization
https://docs.datadoghq.com/tests/setup/ruby/?tab=cloudciprovideragentless
Other
11 stars 4 forks source link

[SDTEST-116] Send event_created and event_finished metrics for internal telemetry #200

Closed anmarchenko closed 4 months ago

anmarchenko commented 4 months ago

What does this PR do? Adds event_created and event_finished metrics. As this PR is already large, I will implement other metrics in subsequent PRs.

Also this PR:

How to test the change? Tested by running test suite with staging settings, see (DD only) dashboard here.

image
codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 99.41973% with 3 lines in your changes missing coverage. Please review.

Project coverage is 98.88%. Comparing base (03910f2) to head (afd50da).

Files Patch % Lines
spec/datadog/ci/test_visibility/component_spec.rb 92.00% 2 Missing :warning:
lib/datadog/ci/test_visibility/component.rb 98.63% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #200 +/- ## ========================================== + Coverage 98.86% 98.88% +0.01% ========================================== Files 235 242 +7 Lines 10477 10837 +360 Branches 481 489 +8 ========================================== + Hits 10358 10716 +358 - Misses 119 121 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.