100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
# File 'lib/modularization_statistics.rb', line 100
def self.get_metrics(
source_code_pathnames:,
componentized_source_code_locations:,
packaged_source_code_locations:,
app_name:,
use_gusto_legacy_names: false
)
all_metrics = Private::DatadogReporter.get_metrics(
source_code_files: source_code_files(
source_code_pathnames: source_code_pathnames,
componentized_source_code_locations: componentized_source_code_locations,
packaged_source_code_locations: packaged_source_code_locations
),
app_name: app_name
)
if use_gusto_legacy_names
all_metrics = Private.convert_metrics_to_legacy(all_metrics)
end
all_metrics
end
|