docbrown/app/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 Refactor:Send Welcome Broadcast Notifications From Sidekiq (#9923) 2020-08-21 12:57:08 -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 Refactor:Use dev_to? to Check for DEV (#12083) 2020-12-30 14:34:00 -06: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] Optimization:Use delete_by when Destroying HtmlVariant Trials and Successes (#10332) 2020-09-14 15:40:30 -05:00
listings Update bust_listings to service (#12050) 2020-12-29 09:52:34 +01:00
mentions [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
metrics Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
moderator Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05: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 [deploy] index articles after ratings are updated (#7050) 2020-04-02 17:30:13 -04:00
reactions Update bust to EdgeCache::Bust (#12052) 2020-12-29 09:53:15 +01:00
search Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
slack/messengers Remove SlackBotPingWorker (#7587) 2020-04-29 08:51:36 -04:00
tags Update bust_tag to EdgeCache::BustTag (#11953) 2020-12-21 14:43:42 -05:00
users Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
webhook Use Rails 6 new features in the code (#8342) 2020-06-08 16:06:29 -04:00
bust_cache_base_worker.rb Force Unique Jobs for User Initiated Jobs and Cache Jobs (#7688) 2020-05-06 08:27:17 -05:00
bust_cache_path_worker.rb Update bust to EdgeCache::Bust (#12052) 2020-12-29 09:53:15 +01:00
data_update_worker.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
export_content_worker.rb Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
sitemap_refresh_worker.rb Stop pinging sitemap tools locally (#10314) 2020-09-14 16:10:52 +02:00