Skip to content

Commit

Permalink
add constants for test_session metric tags that we'll use in future
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Dec 17, 2024
1 parent 3f6aeef commit bb46767
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/datadog/ci/ext/telemetry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ module Telemetry
TAG_EARLY_FLAKE_DETECTION_ENABLED = "early_flake_detection_enabled"
TAG_FLAKY_TEST_RETRIES_ENABLED = "flaky_test_retries_enabled"
TAG_EARLY_FLAKE_DETECTION_ABORT_REASON = "early_flake_detection_abort_reason"
# tags for test_session metric
TAG_PROVIDER = "provider"
TAG_AUTO_INJECTED = "auto_injected"
TAG_AGENTLESS_LOG_SUBMISSION_ENABLED = "agentless_log_submission_enabled"
TAG_FAIL_FAST_TEST_ORDER_ENABLED = "fail_fast_test_order_enabled"

module EventType
TEST = "test"
Expand Down
4 changes: 4 additions & 0 deletions sig/datadog/ci/ext/telemetry.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ module Datadog

TAG_AUTO_INJECTED: "auto_injected"

TAG_AGENTLESS_LOG_SUBMISSION_ENABLED: "agentless_log_submission_enabled"

TAG_FAIL_FAST_TEST_ORDER_ENABLED: "fail_fast_test_order_enabled"

module EventType
TEST: "test"
SUITE: "suite"
Expand Down

0 comments on commit bb46767

Please sign in to comment.