lib/datadog/ci/contrib/cucumber/ext.rb in datadog-ci-0.5.1 vs lib/datadog/ci/contrib/cucumber/ext.rb in datadog-ci-0.6.0
- old
+ new
@@ -5,17 +5,19 @@
module Contrib
module Cucumber
# Cucumber integration constants
# TODO: mark as `@public_api` when GA, to protect from resource and tag name changes.
module Ext
- APP = "cucumber"
ENV_ENABLED = "DD_TRACE_CUCUMBER_ENABLED"
- ENV_OPERATION_NAME = "DD_TRACE_CUCUMBER_OPERATION_NAME"
+ DEFAULT_SERVICE_NAME = "cucumber"
+
FRAMEWORK = "cucumber"
- OPERATION_NAME = "cucumber.test"
- SERVICE_NAME = "cucumber"
+
STEP_SPAN_TYPE = "step"
- TEST_TYPE = "test"
+
+ # TODO: remove in 1.0
+ ENV_OPERATION_NAME = "DD_TRACE_CUCUMBER_OPERATION_NAME"
+ OPERATION_NAME = "cucumber.test"
end
end
end
end
end