Module: IncidentManagement::UsageData
- Includes:
- Gitlab::Utils::UsageData
- Included in:
- IssueLinks::CreateService, IssueLinks::DestroyService, Issues::BaseService, Notes::CreateService
- Defined in:
- app/services/concerns/incident_management/usage_data.rb
Constant Summary
Constants included from Gitlab::Utils::UsageData
Gitlab::Utils::UsageData::DISTRIBUTED_HLL_FALLBACK, Gitlab::Utils::UsageData::FALLBACK, Gitlab::Utils::UsageData::HISTOGRAM_FALLBACK, Gitlab::Utils::UsageData::MAX_BUCKET_SIZE
Instance Method Summary collapse
Methods included from Gitlab::Utils::UsageData
#add, #add_metric, #alt_usage_data, #count, #distinct_count, #epics_deepest_relationship_level, #estimate_batch_distinct_count, #histogram, #jira_integration_data, #maximum_id, #measure_duration, #minimum_id, #redis_usage_data, #sum, #track_usage_event, #with_duration, #with_finished_at, #with_prometheus_client
Methods included from Gitlab::Utils::StrongMemoize
#clear_memoization, #strong_memoize, #strong_memoized?
Instance Method Details
#track_incident_action(current_user, target, action) ⇒ Object
7 8 9 10 11 |
# File 'app/services/concerns/incident_management/usage_data.rb', line 7 def track_incident_action(current_user, target, action) return unless target.incident? track_usage_event(:"incident_management_#{action}", current_user.id) end |