Class: Gitlab::CycleAnalytics::ProductionEventFetcher
- Inherits:
-
BaseEventFetcher
- Object
- BaseEventFetcher
- Gitlab::CycleAnalytics::ProductionEventFetcher
- Includes:
- ProductionHelper
- Defined in:
- lib/gitlab/cycle_analytics/production_event_fetcher.rb
Constant Summary
Constants inherited from BaseEventFetcher
Constants included from Database::Median
Database::Median::NotSupportedError
Instance Attribute Summary
Attributes inherited from BaseEventFetcher
#options, #projections, #query, #stage
Instance Method Summary collapse
-
#initialize(*args) ⇒ ProductionEventFetcher
constructor
A new instance of ProductionEventFetcher.
Methods included from ProductionHelper
Methods inherited from BaseEventFetcher
Methods included from GroupProjectsProvider
Methods included from Database::DateTime
#subtract_datetimes, #subtract_datetimes_diff
Methods included from Database::Median
#extract_median, #extract_medians, #median_datetime, #median_datetimes, #pg_median_datetime_sql
Methods included from MetricsTables
#build_table, #issue_metrics_table, #issue_table, #mr_closing_issues_table, #mr_diff_commits_table, #mr_diff_table, #mr_metrics_table, #mr_table, #projects_table, #routes_table, #user_table
Constructor Details
#initialize(*args) ⇒ ProductionEventFetcher
Returns a new instance of ProductionEventFetcher.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gitlab/cycle_analytics/production_event_fetcher.rb', line 8 def initialize(*args) @projections = [issue_table[:title], issue_table[:iid], issue_table[:id], issue_table[:created_at], issue_table[:author_id], routes_table[:path]] super(*args) end |