diff options
Diffstat (limited to 'spec/support/shared_contexts/services/service_ping')
-rw-r--r-- | spec/support/shared_contexts/services/service_ping/stubbed_service_ping_metrics_definitions_shared_context.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_contexts/services/service_ping/stubbed_service_ping_metrics_definitions_shared_context.rb b/spec/support/shared_contexts/services/service_ping/stubbed_service_ping_metrics_definitions_shared_context.rb index 37d410a35bf..9746d287440 100644 --- a/spec/support/shared_contexts/services/service_ping/stubbed_service_ping_metrics_definitions_shared_context.rb +++ b/spec/support/shared_contexts/services/service_ping/stubbed_service_ping_metrics_definitions_shared_context.rb @@ -43,12 +43,12 @@ RSpec.shared_context 'stubbed service ping metrics definitions' do Gitlab::Usage::MetricDefinition.instance_variable_set(:@all, nil) end - def metric_attributes(key_path, category, value_type = 'string', instrumentation_class = '') + def metric_attributes(key_path, category, value_type = 'string', instrumentation_class = '', status = 'active') { 'key_path' => key_path, 'data_category' => category, 'value_type' => value_type, - 'status' => 'active', + 'status' => status, 'instrumentation_class' => instrumentation_class, 'time_frame' => 'all' } |