Class: ErrorTracking::ListIssuesService

Inherits:
BaseService show all
Defined in:
app/services/error_tracking/list_issues_service.rb

Constant Summary collapse

DEFAULT_ISSUE_STATUS =
'unresolved'
DEFAULT_LIMIT =
20
DEFAULT_SORT =
'last_seen'
ISSUE_STATUS_VALUES =

Sentry client supports 'muted' and 'assigned' but GitLab does not

%w[
  resolved
  unresolved
  ignored
].freeze

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 Attribute Summary

Attributes inherited from BaseProjectService

#project

Attributes inherited from BaseContainerService

#container, #current_user, #params

Instance Method Summary collapse

Methods inherited from BaseService

#execute, #initialize

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?

Methods inherited from BaseProjectService

#initialize

Methods inherited from BaseContainerService

#group_container?, #initialize, #namespace_container?, #project_container?

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from ErrorTracking::BaseService

Instance Method Details

#external_urlObject


16
17
18
# File 'app/services/error_tracking/list_issues_service.rb', line 16

def external_url
  project_error_tracking_setting&.sentry_external_url
end