Module: Datadog::CI::Utils::Configuration

Defined in:
lib/datadog/ci/utils/configuration.rb

Class Method Summary collapse

Class Method Details

.fetch_service_name(default) ⇒ Object



9
10
11
# File 'lib/datadog/ci/utils/configuration.rb', line 9

def self.fetch_service_name(default)
  Datadog.configuration.service_without_fallback || CI::Git::LocalRepository.repository_name || default
end