docbrown/spec/workers
Kirk Haines ed74f2f245
Abstract DatadogStatsClient to ForemStatsClient (#12304)
* This change abstracts the DatadogStatsClient into a ForemStatsClient.
The purpose of this abstraction is to set the foundation for a subsequent PR that will allow one to use New Relic for recording Forem stats, instead of Datadog, if there is a New Relic configuration found.
This specific change creates an abstraction layer that can be built upon, without changing any actual default behavior. All specs still pass.

* Use delegate instead of explicit methods.

* Delegate instead of explicit methods.

* Fix the error.

* Refactor according to the suggestions in the comments.

* Ooops.  Stats work better when all of the code is committed.

* Removing the alias of count to increment since that was done in error.
2021-01-27 11:25:44 -05:00
..
articles Remove RssReader (#12169) 2021-01-08 11:45:15 -05:00
badge_achievements Split BadgeRewarder into multiple services (#11902) 2020-12-23 09:55:06 -05:00
broadcasts Do not set SiteConfig values in specs (#11125) 2020-10-27 15:56:31 -04:00
chat_channels [deploy] Optimization:Index Chat Channel Memberships Async on Message Creation (#9491) 2020-07-24 09:52:42 -05:00
comments Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00
credits Refactor:Move Credit Counter Cache Sync to Sidekiq (#9972) 2020-08-24 14:20:11 -05:00
emails [deploy] Optimization:Select Article Columns for Digest Email, Limit 6, Use User Attributes (#10147) 2020-09-02 11:31:43 -05:00
events Update bust_events to EdgeCache::BustEvents (#11955) 2020-12-21 14:43:28 -05:00
feeds Remove RssReader (#12169) 2021-01-08 11:45:15 -05:00
follows Test variants for which posts are fetched on initial "hot articles" home feed query. (#11982) 2021-01-05 12:29:46 -05:00
github_repos Rely on error types to determine when a repo should be removed on the RepoSyncWorker (#10131) 2020-09-01 15:01:23 -04:00
html_variants [deploy] Refactor:Move Remove Old HTML Variant Data task to Sidekiq (#9925) 2020-08-22 18:36:22 -05:00
listings Update bust_listings to service (#12050) 2020-12-29 09:52:34 +01:00
mentions Add mentions send email notifications worker (#5549) 2020-01-20 08:24:42 -05:00
metrics Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
moderator Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
notifications [deploy] Refactor:Move remove_old_notifications Rake Task to Sidekiq (#9936) 2020-08-24 08:48:46 -04:00
organizations Update bust_organization to EdgeCache::BustOrganization (#12048) 2020-12-29 09:48:36 +01:00
pages Update .bust_page to EdgeCache::BustPage (#11952) 2020-12-18 11:21:54 -05:00
podcast_episodes Update bust_podcast_episode to EdgeCache::BustPodcastEpisode (#12049) 2020-12-29 09:49:13 +01:00
podcasts Update bust_podcast to EdgeCache::BustPodcast (#12047) 2020-12-29 09:49:59 +01:00
rating_votes Update bust_podcast to EdgeCache::BustPodcast (#12047) 2020-12-29 09:49:59 +01:00
reactions Update bust to EdgeCache::Bust (#12052) 2020-12-29 09:53:15 +01:00
search Don't use "not_to raise_error" with specific class (#10602) 2020-10-05 17:29:01 +02:00
shared_examples Add field test gem to establish a/b testing (#6283) [deploy] 2020-03-03 10:21:29 -05:00
slack/messengers Finalize Slack messengers refactoring (#7484) 2020-04-24 21:15:10 +02:00
tags Update bust_tag to EdgeCache::BustTag (#11953) 2020-12-21 14:43:42 -05:00
users Move MailchimpBot to Mailchimp::Bot service (#12205) 2021-01-12 10:28:48 -05:00
webhook Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
bust_cache_path_worker_spec.rb Update bust to EdgeCache::Bust (#12052) 2020-12-29 09:53:15 +01:00
data_update_worker_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
export_content_worker_spec.rb Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
sitemap_refresh_worker_spec.rb Stop pinging sitemap tools locally (#10314) 2020-09-14 16:10:52 +02:00