Class: Gitlab::UsageDataMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/usage_data_metrics.rb

Class Method Summary collapse

Class Method Details

.suggested_namesObject


11
12
13
# File 'lib/gitlab/usage_data_metrics.rb', line 11

def suggested_names
  build_payload(:with_suggested_name)
end

.uncached_dataObject

Build the Usage Ping JSON payload from metrics YAML definitions which have instrumentation class set


7
8
9
# File 'lib/gitlab/usage_data_metrics.rb', line 7

def uncached_data
  build_payload(:with_value)
end